Part Number Hot Search : 
ECCM2 DC100 AN78M STM32 302UR100 24D15 DF1508M EM78870
Product Description
Full Text Search
 

To Download W83697UG Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 W83697UF/W83697UG
WINBOND LPC I/O W83697UF W83697UG
Date: May 26, 2005 Revision: A1
-1-
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
Table of Contents1. 2. 3. 4. 5. GENERAL DESCRIPTION ............................................................................................................. 4 FEATURES..................................................................................................................................... 5 BLOCK DIAGRAM FOR W83697UF.............................................................................................. 7 PIN CONFIGURATION FOR W83697UF ...................................................................................... 8 PIN DESCRIPTION ........................................................................................................................ 9 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 LPC Interface...................................................................................................................... 10 FDC Interface ..................................................................................................................... 11 Multi-Mode Parallel Port ..................................................................................................... 12 Serial Port Interface ............................................................................................................ 17 Infrared Port........................................................................................................................ 18 Flash ROM Interface .......................................................................................................... 19 General Purpose I/O Port ................................................................................................... 19 Smart Card Interface .......................................................................................................... 20 PWM & General Purpose I/O Port 8................................................................................... 21
5.10 Game Port & MIDI Port....................................................................................................... 21 5.11 POWER PINS..................................................................................................................... 22 6. CONFIGURATION REGISTER .................................................................................................... 22 6.1 6.2 Plug and Play Configuration ............................................................................................... 22 Compatible PnP.................................................................................................................. 23
6.2.1 6.2.2 6.2.3 Extended Function Registers .................................................................................................23 Extended Functions Enable Registers (EFERs).....................................................................23 Extended Function Index Registers (EFIRs), Extended Function Data Registers (EFDRs) ...23 Enter the extended function mode .........................................................................................24 Configurate the configuration registers ..................................................................................24 Exit the extended function mode ............................................................................................24 Software programming example ............................................................................................24
6.3
Configuration Sequence ..................................................................................................... 23
6.3.1 6.3.2 6.3.3 6.3.4
6.4 6.5 6.6 6.7 6.8 6.9
Chip (Global) Control Register ........................................................................................... 25 Logical Device 0 (FDC) ...................................................................................................... 31 Logical Device 1 (Parallel Port) .......................................................................................... 34 Logical Device 2 (UART A)................................................................................................. 35 Logical Device 3 (UART B)................................................................................................. 36 Logical Device 7 (Game Port and GPIO Port 1)................................................................. 38
6.10 Logical Device 8 (MIDI Port and GPIO Port 5)................................................................... 38 6.11 Logical Device 9 (GPIO Port 2 ~ GPIO Port 4 ) ................................................................. 40 6.12 Logical Device A (ACPI) ..................................................................................................... 41 -2-
W83697UF/W83697UG
6.13 Logical Device B (PWM)..................................................................................................... 46 6.14 Logical Device C (SMART CARD) ..................................................................................... 46 6.15 Logical Device D (URC & GPIO Port 6 ) ............................................................................ 46 6.16 Logical Device E (URD & GPIO Port 7 ) ............................................................................ 48 6.17 Logical Device F (GPIO Port 8) .......................................................................................... 49 7. SPECIFICATIONS........................................................................................................................ 49 7.1 7.2 8. 8.1 8.2 8.3 9. 10. 11. 12. 13. Absolute Maximum Ratings................................................................................................ 49 DC CHARACTERISTICS ................................................................................................... 50 Parallel Port Extension FDD............................................................................................... 58 Parallel Port Extension 2FDD............................................................................................. 59 Four FDD Mode .................................................................................................................. 59
APPLICATION CIRCUITS ............................................................................................................ 58
ORDERING INSTRUCTION......................................................................................................... 60 HOW TO READ THE TOP MARKING ......................................................................................... 60 PACKAGE DIMENSIONS............................................................................................................. 61 APPENDIX A: DEMO CIRCUIT.................................................................................................... 62 REVISION HISTORY.................................................................................................................... 67
-3-
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
1. GENERAL DESCRIPTION
The W83697UF is evolving product from Winbond's most popular I/O family. They feature a whole new interface, namely LPC (Low Pin Count) interface, which will be supported in the new generation chip-set. This interface as its name suggests is to provide an economical implementation of I/O's interface with lower pin count and still maintains equivalent performance as its ISA interface counterpart. Approximately 40 pin counts are saved in LPC I/O comparing to ISA implementation. With this additional freedom, we can implement more devices on a single chip as demonstrated in W83697UF's integration of Game Port and MIDI Port. It is fully transparent in terms of software which means no BIOS or device driver update is needed except chip-specific configuration. The disk drive adapter functions of W83697UF include a floppy disk drive controller compatible with the industry standard 82077/ 765, data separator, write pre-compensation circuit, decode logic, data rate selection, clock generator, drive interface control logic, and interrupt and DMA logic. The wide range of functions integrated onto the W83697UF greatly reduces the number of components required for interfacing with floppy disk drives. The W83697UF supports four 360K, 720K, 1.2M, 1.44M, or 2.88M disk drives and data tranufer rates of 250 Kb/s, 300 Kb/s, 500 Kb/s,1 Mb/s, and 2 Mb/s. The W83697UF provides four high-speed serial communication ports (UARTs), one of which supports serial Infrared communication. Each UART includes a 16-byte send/receive FIFO, a programmable baud rate generator, complete modem control capability, and a processor interrupt system. All UARTs provide legacy speed with baud rate up to 115.2k bps and also advanced speed with baud rates of 230k, 460k, or 921k bps which support higher speed modems. In addition, the W83697UF provides IR functions: IrDA 1.0 (SIR for 1.152K bps) and TV remote IR (Consumer IR, supporting NEC, RC-5, extended RC-5, and RECS-80 protocols). The W83697UF supports one PC-compatible printer port (SPP), Bi-directional Printer port (BPP) and also Enhanced Parallel Port (EPP) and Extended Capabilities Port (ECP). Through the printer port interface pins, also available are: Extension FDD Mode and Extension 2FDD Mode allowing one or two external floppy disk drives to be connected. The configuration registers support mode selection, function enable/disable, and power down function selection. Furthermore, the configurable PnP features are compatible with the plug-and-play feature demand of Windows 95/98TM, which makes system resource allocation more efficient than ever. The W83697UF provides a set of flexible I/O control functions to the system designer through a set of General Purpose I/O ports. These GPIO ports may serve as simple I/O or may be individually configured to provide a predefined alternate function. General Purpose Port 1 is designed to be functional even in power down mode (VCC is off). The W83697UF is made to fully comply with Microsoft PC98 and PC99 Hardware Design Guide, and meet the requirements of ACPI. The W83697UF contains a game port and a MIDI port. The game port is designed to support 2 joysticks and can be applied to all standard PC game control devices. They are very important for a entertainment or consumer computer. The W83697UF provides Flash ROM interface. That can support up to 4M legacy flash ROM.
-4-
W83697UF/W83697UG
2. FEATURES
General
* * * * * * * * * * * * * * * * * * * * * * * * Meet LPC Spec. 1.1 Support LDRQ#(LPC DMA), SERIRQ (serial IRQ) Include all the features of Winbond I/O W83877TF Integrate Smart Card functions Compliant with Microsoft PC98/PC99 Hardware Design Guide Support DPM (Device Power Management), ACPI Programmable configuration settings Single 24 or 48 MHz clock input
FDC
Compatible with IBM PC AT disk drive systems Variable write pre-compensation with track selectable capability Support vertical recording format DMA enable logic 16-byte data FIFOs Support floppy disk drives and tape drives Detects all overrun and underrun conditions Built-in address mark detection circuit to simplify the read electronics FDD anti-virus functions with software write protect and FDD write enable signal (write data signal was forced to be inactive) Support up to four 3.5-inch or 5.25-inch floppy disk drives Completely compatible with industry standard 82077 360K/720K/1.2M/1.44M/2.88M format; 250K, 300K, 500K, 1M, 2M bps data transfer rate Support 3-mode FDD, and its Win95/98 driver
UART
Four high-speed 16550 compatible UARTs with 16-byte send/receive FIFOs MIDI compatible Fully programmable serial-interface characteristics: --- 5, 6, 7 or 8-bit characters --- Even, odd or no parity bit generation/detection --- 1, 1.5 or 2 stop bits generation Internal diagnostic capabilities: --- Loop-back controls for communications link fault isolation --- Break, parity, overrun, framing error simulation
*
-5-
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
* * * * * * * * * * * * * * * * * Programmable baud generator allows division of 1.8461 MHz and 24 MHz by 1 to (216-1) Maximum baud rate up to 921k bps for 14.769 MHz and 1.5M bps for 24 MHz Support IrDA version 1.0 SIR protocol with maximum baud rate up to 115.2K bps Support SHARP ASK-IR protocol with maximum baud rate up to 57,600 bps Support Consumer IR with Wake-Up function. Compatible with IBM parallel port Support PS/2 compatible bi-directional parallel port Support Enhanced Parallel Port (EPP) - Compatible with IEEE 1284 specification Support Extended Capabilities Port (ECP) - Compatible with IEEE 1284 specification Extension FDD mode supports disk drive B; and Extension 2FDD mode supports disk drives A and B through parallel port Enhanced printer port back-drive current protection Support two separate Joysticks Support every Joystick two axes (X,Y) and two buttons (S1,S2) controllers The baud rate is 31.25 Kbaud 16-byte input FIFO 16-byte output FIFO Support up to 4M flash ROM
Infrared
Parallel Port
Game Port
MIDI Port
Flash ROM Interface Fan Speed Control * Support 3 sets of PWM Fan Speed Control General Purpose I/O Ports
* * * 60 programmable general purpose I/O ports General purpose I/O ports can serve as simple I/O ports, watch dog timer output, power LED output, infrared I/O pins, suspend LED output, Beep output Functional in power down mode
Smart Card Reader Interface * ISO7816 protocol compliant * PC/SC T=0 , T=1 compliant Package
* 128-pin PQFP
-6-
W83697UF/W83697UG
3. BLOCK DIAGRAM FOR W83697UF
LRESET#, LCLK, LFRAME#, LAD[3:0], LDRQ#, SERIRQ
LPC Interface Serial port A, B, C, D interface signals Floppy drive interface signals IRRX IRTX SC CIR CIRRX# Printer port interface signals
Joystick interface signals MSI MSO General-purpose I/O pins Smart Card interface signals Flash ROM interface signals
Game Port MIDI
URA, B, C, D FDC
GPIO
IR
Flash ROM
PRT
ACPI
-7-
Publication Release Date: May 26, 2005 Revision A1
SINC/GP63 SOUTC/GP62 DCDC#/GP61 RIC#/GP60 SCPSNT/CTSD#/GP77 SCIO/DSRD#/GP76 SCCLK/RTSD#/GP75 SCRST/DTRD#/GP74 GP73/SIND SCC8/SOUTD/GP72 SCPWR/DCDD#/GP71 SCC4/RID#/GP70 PWM2/PLED/GP83 PWM1/GP82 PWM0/GP81 WDTO/GP80 MSI/GP51 MSO/GP50 GPAS2/GP17 GPBS2/GP16 GPAY/GP15 GPBY/GP14 GPBX/GP13 GPAX/GP12 GPBS1/GP11 GPAS1/GP10 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
4. PIN CONFIGURATION FOR W83697UF
W83697UF
-8-
DRVDEN0 INDEX# MOA# DSB# VCC DSA# MOB# DIR# STEP# WD# WE# TRAK0# WP# RDATA# HEAD# DSKCHG# CLKIN GND PCICLK LDRQ# SERIRQ VCC3 LAD3 LAD2 LAD1 LAD0 LFRAME# LRESET# SLCT PE BUSY ACK# ERR# SLIN# PD7 PD6 PD5 PD4 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 IRRX RIB# DCDB# SOUTB/PEN48 GND SINB DTRB# RTSB# DSRB# CTSB# RIA# DCDA# SOUTA/PENROM# SINA DTRA#/PNPCSV# RTSA#HEFRAS DSRA# CTSA# STB# VCC AFD# INIT# PD0 PD1 PD2 PD3
102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
DTRC#/GP64 RTSC#/GP65 DSRC#/GP66 CTSC#/GP67 PME# MEMW#/GP52 MEMR#GP53 ROMCS#/GP54 XD0/GP20 XD1/GP21 XD2/GP22 XD3/GP23 GND XD4/GP24 XD5/GP25 XD6/GP26 XD7/GP27 XA0/GP30 XA1/GP31 XA2/GP32 XA3/GP33 XA4/GP34 XA5/GP35 XA6/GP36 XA7/GP37 XA8/GP40 XA9/GP41 VCC XA10/GP42 XA11/GP43 XA12/GP44 XA13/GP45 XA14/GP46 XA15/GP47 XA16/GP55 XA17/GP56 XA18/GP57 IRTX
W83697UF/W83697UG
W83697UF/W83697UG
5. PIN DESCRIPTION
Note: Please refer to Section DC CHARACTERISTICS for details
PIN DESCRIPTION
I/O8t I/O12t I/O24t I/O12tp3 I/O12ts I/O24ts I/O24tsp3 I/OD12t I/OD24t I/OD24c I/OD24a I/OD12ts I/OD24ts I/OD12cs I/OD16cs I/OD24cs I/OD12csd I/OD12csu O4 O8 O12 O16 O24 O12p3
TTL level bi-directional pin with 8mA source-sink capability TTL level bi-directional pin with 12mA source-sink capability TTL level bi-directional pin with 24 mA source-sink capability 3.3V TTL level bi-directional pin with 12mA source-sink capability TTL level Schmitt-trigger bi-directional pin with 12mA source-sink capability TTL level Schmitt-trigger bi-directional pin with 24mA source-sink capability 3.3V TTL level Schmitt-trigger bi-directional pin with 24mA source-sink capability TTL level bi-directional pin and open-drain output with 12mA sink capability TTL level bi-directional pin and open-drain output with 24mA sink capability CMOS level bi-directional pin and open-drain output with 24mA sink capability Bi-directional pin with analog input and open-drain output with 24mA sink capability TTL level Schmitt-trigger bi-directional pin and open-drain output with 12mA sink capability TTL level Schmitt-trigger bi-directional pin and open-drain output with 24mA sink capability CMOS level Schmitt-trigger bi-directional pin and open-drain output with 12mA sink capability CMOS level Schmitt-trigger bi-directional pin and open-drain output with 16mA sink capability CMOS level Schmitt-trigger bi-directional pin and open-drain output with 24mA sink capability CMOS level Schmitt-trigger bi-directional pin with internal pull down resistor and open-drain output with 12mA sink capability CMOS level Schmitt-trigger bi-directional pin with internal pull up resistor and open-drain output with 12mA sink capability Output pin with 4 mA source-sink capability Output pin with 8 mA source-sink capability Output pin with 12 mA source-sink capability Output pin with 16 mA source-sink capability Output pin with 24 mA source-sink capability 3.3V output pin with 12 mA source-sink capability
-9-
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
Pin description, continued
PIN DESCRIPTION
O24p3 OD12 OD24 OD12p3 INt INtp3 INtd INtu INts INtsp3 INc INcu INcd INcs INcsu
3.3V output pin with 24 mA source-sink capability Open-drain output pin with 12 mA sink capability Open-drain output pin with 24 mA sink capability 3.3V open-drain output pin with 12 mA sink capability TTL level input pin 3.3V TTL level input pin TTL level input pin with internal pull down resistor TTL level input pin with internal pull up resistor TTL level Schmitt-trigger input pin 3.3V TTL level Schmitt-trigger input pin CMOS level input pin CMOS level input pin with internal pull up resistor CMOS level input pin with internal pull down resistor CMOS level Schmitt-trigger input pin CMOS level Schmitt-trigger input pin with internal pull up resistor
5.1 LPC Interface
SYMBOL PIN I/O FUNCTION
CLKIN PME# PCICLK LDRQ# SERIRQ LAD[3:0] LFRAME# LRESET#
17 98 19 20 21 23-26 27 28
INtp3 OD12p3 INtsp3 O12p3 I/O12tp3 I/O12tp3 INtsp3 INtsp3
System clock input. According to the input frequency 24MHz or 48MHz, it is selectable through register. Default is 24MHz input. Generated PME event. PCI clock input. Encoded DMA Request signal. Serial IRQ input/Output. These signal lines communicate address, control, and data information over the LPC bus between a host and a peripheral. Indicates start of a new cycle or termination of a broken cycle. Reset signal. It can connect to PCIRST# signal on the host.
- 10 -
W83697UF/W83697UG
5.2 FDC Interface
SYMBOL PIN I/O FUNCTION
DRVDEN0
1
OD24
Drive Density Select bit 0. This Schmitt-triggered input from the disk drive is active low when the head is positioned over the beginning of a track marked by an index hole. This input pin is pulled up internally by a 1 K resistor. The resistor can be disabled by bit 7 of L0CRF0 (FIPURDWN). Motor A On. When set to 0, this pin enables disk drive 0. This is an open drain output. Drive Select B. When set to 0, this pin enables disk drive B. This is an open drain output. Drive Select A. When set to 0, this pin enables disk drive A. This is an open drain output. Motor B On. When set to 0, this pin enables disk drive 1. This is an open drain output. Direction of the head step motor. An open drain output. Logic 1 = outward motion Logic 0 = inward motion Step output pulses. This active low open drain output produces a pulse to move the head to another track. Write data. This logic low open drain writes pre-compensation serial data to the selected FDD. An open drain output. Write enable. An open drain output. Track 0. This Schmitt-triggered input from the disk drive is active low when the head is positioned over the outermost track. This input pin is pulled up internally by a 1 K resistor. The resistor can be disabled by bit 7 of L0-CRF0 (FIPURDWN). Write protected. This active low Schmitt input from the disk drive indicates that the diskette is write-protected. This input pin is pulled up internally by a 1 K resistor. The resistor can be disabled by bit 7 of L0-CRF0 (FIPURDWN). The read data input signal from the FDD. This input pin is pulled up internally by a 1 K resistor. The resistor can be disabled by bit 7 of L0-CRF0 (FIPURDWN). Head select. This open drain output determines which disk drive head is active. Logic 1 = side 0 Logic 0 = side 1 Diskette change. This signal is active low at power on and whenever the diskette is removed. This input pin is pulled up internally by a 1 K resistor. The resistor can be disabled by bit 7 of L0-CRF0 (FIPURDWN).
INDEX#
2
INcsu
MOA# DSB# DSA# MOB# DIR# STEP# WD# WE# TRAK0#
3 4 6 7 8 9 10 11 12
OD24 OD24 OD24 OD24 OD24 OD24 OD24 OD24 INcsu
WP#
13
INcsu
RDATA#
14
INcsu
HEAD#
15
OD24
DSKCHG#
16
INcsu
- 11 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
5.3 Multi-Mode Parallel Port
The following pins have alternate functions, which are controlled by CR28 and L3-CRF0.
SYMBOL PIN I/O FUNCTION
SLCT
29
INts
PRINTER MODE: An active high input on this pin indicates that the printer is selected. This pin is pulled high internally. Refer to the description of the parallel port for definition of this pin in ECP and EPP mode.
WE2#
OD12
EXTENSION FDD MODE: WE2# This pin is for Extension FDD B; its function is the same as the WE# pin of FDC. EXTENSION 2FDD MODE: WE2# This pin is for Extension FDD A and B; its function is the same as the WE# pin of FDC.
PE
30
INts
PRINTER MODE: An active high input on this pin indicates that the printer has detected the end of the paper. This pin is pulled high internally. Refer to the description of the parallel port for the definition of this pin in ECP and EPP mode.
WD2#
OD12
EXTENSION FDD MODE: WD2# This pin is for Extension FDD B; its function is the same as the WD# pin of FDC. EXTENSION 2FDD MODE: WD2# This pin is for Extension FDD A and B; its function is the same as the WD# pin of FDC.
BUSY
31
INts
PRINTER MODE: An active high input indicates that the printer is not ready to receive data. This pin is pulled high internally. Refer to the description of the parallel port for definition of this pin in ECP and EPP mode.
MOB2#
OD12
EXTENSION FDD MODE: MOB2# This pin is for Extension FDD B; its function is the same as the MOB# pin of FDC. EXTENSION 2FDD MODE: MOB2# This pin is for Extension FDD A and B; its function is the same as the MOB# pin of FDC.
- 12 -
W83697UF/W83697UG
Multi-Mode Parallel Port, continued
SYMBOL
PIN
I/O
FUNCTION
ACK#
32
INts
PRINTER MODE: ACK# An active low input on this pin indicates that the printer has received data and is ready to accept more data. This pin is pulled high internally. Refer to the description of the parallel port for the definition of this pin in ECP and EPP mode.
DSB2#
OD12
EXTENSION FDD MODE: DSB2# This pin is for the Extension FDD B; its functions is the same as the DSB# pin of FDC. EXTENSION 2FDD MODE: DSB2# This pin is for Extension FDD A and B; its function is the same as the DSB# pin of FDC.
ERR#
33
INts
PRINTER MODE: ERR# An active low input on this pin indicates that the printer has encountered an error condition. This pin is pulled high internally. Refer to the description of the parallel port for the definition of this pin in ECP and EPP mode.
HEAD2#
OD12
EXTENSION FDD MODE: HEAD2# This pin is for Extension FDD B; its function is the same as the HEAD#pin of FDC. EXTENSION 2FDD MODE: HEAD2# This pin is for Extension FDD A and B; its function is the same as the HEAD# pin of FDC.
SLIN#
34
OD12
PRINTER MODE: SLIN# Output line for detection of printer selection. This pin is pulled high internally. Refer to the description of the parallel port for the definition of this pin in ECP and EPP mode.
STEP2#
OD12
EXTENSION FDD MODE: STEP2# This pin is for Extension FDD B; its function is the same as the STEP# pin of FDC. EXTENSION 2FDD MODE: STEP2# This pin is for Extension FDD A and B; its function is the same as the STEP# pin of FDC.
- 13 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
Multi-mode parallel port, continued
SYMBOL
PIN
I/O
FUNCTION
INIT#
43
OD12
PRINTER MODE: INIT# Output line for the printer initialization. This pin is pulled high internally. Refer to the description of the parallel port for the definition of this pin in ECP and EPP mode.
DIR2#
OD12
EXTENSION FDD MODE: DIR2# This pin is for Extension FDD B; its function is the same as the DIR# pin of FDC. EXTENSION 2FDD MODE: DIR2# This pin is for Extension FDD A and B; its function is the same as the DIR# pin of FDC.
AFD#
44
OD12
PRINTER MODE: AFD# An active low output from this pin causes the printer to auto feed a line after a line is printed. This pin is pulled high internally. Refer to the description of the parallel port for the definition of this pin in ECP and EPP mode.
DRVDEN0
OD12
EXTENSION FDD MODE: DRVDEN0 This pin is for Extension FDD B; its function is the same as the DRVDEN0 pin of FDC. EXTENSION 2FDD MODE: DRVDEN0 This pin is for Extension FDD A and B; its function is the same as the DRVDEN0 pin of FDC.
STB#
46
OD12
PRINTER MODE: STB# An active low output is used to latch the parallel data into the printer. This pin is pulled high internally. Refer to the description of the parallel port for the definition of this pin in ECP and EPP mode.
PD0 42 I/O12ts
EXTENSION FDD MODE: This pin is a tri-state output. EXTENSION 2FDD MODE: This pin is a tri-state output. PRINTER MODE: PD0 Parallel port data bus bit 0. Refer to the description of the parallel port for the definition of this pin in ECP and EPP mode.
INDEX2#
INts
EXTENSION FDD MODE: INDEX2# This pin is for Extension FDD B; its function is the same as the INDEX# pin of FDC. It is pulled high internally. EXTENSION 2FDD MODE: INDEX2# This pin is for Extension FDD A and B; its function is the same as the INDEX# pin of FDC. It is pulled high internally.
- 14 -
W83697UF/W83697UG
Multi-mode parallel port, continued
SYMBOL
PIN
I/O
FUNCTION
PD1
41
I/O12ts
PRINTER MODE: PD1 Parallel port data bus bit 1. Refer to the description of the parallel port for the definition of this pin in ECP and EPP mode.
TRAK02#
INts
EXTENSION FDD MODE: TRAK02# This pin is for Extension FDD B; its function is the same as the TRAK0# pin of FDC. It is pulled high internally. EXTENSION. 2FDD MODE: TRAK02# This pin is for Extension FDD A and B; its function is the same as the TRAK0# pin of FDC. It is pulled high internally.
PD2
40
I/O12ts
PRINTER MODE: PD2 Parallel port data bus bit 2. Refer to the description of the parallel port for the definition of this pin in ECP and EPP mode.
WP2#
INts
EXTENSION FDD MODE: WP2# This pin is for Extension FDD B; its function is the same as the WP# pin of FDC. It is pulled high internally. EXTENSION. 2FDD MODE: WP2# This pin is for Extension FDD A and B; its function is the same as the WP# pin of FDC. It is pulled high internally.
PD3
39
I/O12ts
PRINTER MODE: PD3 Parallel port data bus bit 3. Refer to the description of the parallel port for the definition of this pin in ECP and EPP mode.
RDATA2#
INts
EXTENSION FDD MODE: RDATA2# This pin is for Extension FDD B; its function is the same as the RDATA# pin of FDC. It is pulled high internally. EXTENSION 2FDD MODE: RDATA2# This pin is for Extension FDD A and B; its function is the same as the RDATA# pin of FDC. It is pulled high internally.
- 15 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
Multi-mode parallel port, continued
SYMBOL
PIN
I/O
FUNCTION
PD4
38
I/O12ts
PRINTER MODE: PD4 Parallel port data bus bit 4. Refer to the description of the parallel port for the definition of this pin in ECP and EPP mode.
DSKCHG2#
INts
EXTENSION FDD MODE: DSKCHG2# This pin is for Extension FDD B; the function of this pin is the same as the DSKCHG# pin of FDC. It is pulled high internally. EXTENSION 2FDD MODE: DSKCHG2# This pin is for Extension FDD A and B; this function of this pin is the same as the DSKCHG# pin of FDC. It is pulled high internally.
PD5
37
I/O12ts
PRINTER MODE: PD5 Parallel port data bus bit 5. Refer to the description of the parallel port for the definition of this pin in ECP and EPP mode.
PD6 36 I/O12ts
EXTENSION FDD MODE: This pin is a tri-state output. EXTENSION 2FDD MODE: This pin is a tri-state output. PRINTER MODE: PD6 Parallel port data bus bit 6. Refer to the description of the parallel port for the definition of this pin in ECP and EPP mode.
MOA2# OD12
EXTENSION FDD MODE: This pin is a tri-state output. EXTENSION. 2FDD MODE: MOA2# This pin is for Extension FDD A; its function is the same as the MOA# pin of FDC.
PD7
35
I/O12ts
PRINTER MODE: PD7 Parallel port data bus bit 7. Refer to the description of the parallel port for the definition of this pin in ECP and EPP mode.
DSA2# OD12
EXTENSION FDD MODE: This pin is a tri-state output. EXTENSION 2FDD MODE: DSA2# This pin is for Extension FDD A; its function is the same as the DSA# pin of FDC.
- 16 -
W83697UF/W83697UG
5.4 Serial Port Interface
SYMBOL PIN I/O FUNCTION
CTSA# CTSB# DSRA# DSRB# RTSA# HEFRAS
47 55 48 56 49
INt
Clear To Send. It is the modem control input. The function of these pins can be tested by reading bit 4 of the handshake status register.
INt
Data Set Ready. An active low signal indicates the modem or data set is ready to establish a communication link and transfer data to the UART. UART A Request To Send. An active low signal informs the modem or data set that the controller is ready to send data. During power-on reset, this pin is pulled down internally and is defined as HEFRAS, which provides the power-on value for CR26 bit 6 (HEFRAS). A 4.7 k is recommended if intends to pull up. (select 4EH as configuration I/O ports address) UART B Request To Send. An active low signal informs the modem or data set that the controller is ready to send data. UART A Data Terminal Ready. An active low signal informs the modem or data set that the controller is ready to communicate. During power-on reset, this pin is pulled down internally and is defined as PNPCSV#, which provides the power-on value for CR24 bit 0 (PNPCSV#). A 4.7 k is recommended if intends to pull up. (clear the default value of FDC, UARTs, and PRT) UART B Data Terminal Ready. An active low signal informs the modem or data set that controller is ready to communicate. Serial Input. It is used to receive serial data through the communication link. UART A Serial Output. It is used to transmit serial data out to the communication link. During power on reset , this pin is pulled down internally and is defined as PENROM#, which provides the power on value for CR24 bit 1. A 4.7k is recommended if intends to pull up . UART B Serial Output. During power-on reset, this pin is pulled down internally and is defined as PEN48, which provides the power-on value for CR24 bit 6 (EN48). A 4.7 k resistor is recommended if intends to pull up. Data Carrier Detect. An active low signal indicates the modem or data set has detected a data carrier. Ring Indicator. An active low signal indicates that a ring signal is being received from the modem or data set.
O8 INcd
RTSB# DTRA# PNPCSV#
57 50
O8 O8 INcd
DTRB# SINA SINB SOUTA PENROM# SOUTB PEN48 DCDA# DCDB# RIA# RIB#
58 51 59 52
O8 INt O8 INcd
61
O8 INcd
53 62 54 63
INt INt
- 17 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
Serial Port Interface, continued
SYMBOL
PIN
I/O
FUNCTION
CTSC# GP67 DSRC#
99
INt I/OD12t INt
Clear To Send. It is the modem control input. General purpose I/O port 6 bit7. Data Set Ready. An active low signal indicates the modem or data set is ready to establish a communication link and transfer data to the UART. General purpose I/O port 6 bit6. UART C Request To Send. An active low signal informs the modem or data set that the controller is ready to send data. General purpose I/O port 6 bit5. UART C Data Terminal Ready. An active low signal informs the modem or data set that the controller is ready to communicate. General purpose I/O port 6 bit4. Serial Input. It is used to receive serial data through the communication link. General purpose I/O port 6 bit3. UART B Serial Output. It is used to transmit serial data out to the communication link. General purpose I/O port 6 bit2. Data Carrier Detect. An active low signal indicates the modem or data set has detected a data carrier. General purpose I/O port 6 bit1. Ring Indicator. An active low signal indicates that a ring signal is being received from the modem or data set. General purpose I/O port 6 bit0.
100 GP66 RTSC# 101 GP65 DTRC# 102 GP64 SINC 103 GP63 SOUTC 104 GP62 DCDC# 105 GP61 RIC# 106 GP60 I/OD12t I/OD12t INt I/OD12t INt I/OD12t O12 I/OD12t INt I/OD12t O12 I/OD12t O12
5.5 Infrared Port
SYMBOL PIN I/O FUNCTION
IRRX IRTX
64 65
INts O12
Alternate Function Input: Infrared Receiver input. General purpose I/O port 3 bit 6. Alternate Function Output: Infrared Transmitter Output. General purpose I/O port 3 bit 7.
- 18 -
W83697UF/W83697UG
5.6 Flash ROM Interface
SYMBOL PIN I/O FUNCTION
XA18-XA16 GP57-GP55 XA15-XA10 GP47-GP42 XA9-XA8 GP41-GP40 XA7-XA0 GP37-GP30 XD7-XD4 GP27-GP24 XD3-XD0 GP23-GP20 ROMCS# GP54 MEMR# GP53 MEMW# GP52
66-68 69-74 76-77 78-85 86-89 91-94 95 96 97
O12 I/OD12t O12 I/OD12t O12 I/OD12t O12 I/OD12t I/O12t I/OD12t I/O12t I/OD12t O12 I/OD12t O12 I/OD12t O12 I/OD12t
Flash ROM interface Address[18:16] General purpose I/O port 5 bit7-5 Flash ROM interface Address[15:10] General purpose I/O port 4 bit7-2 Flash ROM interface Address[9:8] General purpose I/O port 4 bit1-0 Flash ROM interface Address[7:0] General purpose I/O port 3 bit7-0 Flash ROM interface Data Bus[7:4] General purpose I/O port 2 bit7-4 Flash ROM interface Data Bus [3:0] General purpose I/O port 2 bit3-0 Flash ROM interface Chip Select General purpose I/O port 5 bit4 Flash ROM interface Memory Read Enable General purpose I/O port 5 bit3 Flash ROM interface Memory Write Enable General purpose I/O port 5 bit2
5.7 General Purpose I/O Port
SYMBOL PIN I/O FUNCTION
GP73 SIND GP80 WDTO
111
I/OD12t INt I/OD12t OD12
General purpose I/O port 7 bit3 Serial Input. It is used to receive serial data through the communication link. General purpose I/O port 8 bit0 Watch dog timer output.
118
- 19 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
5.8 Smart Card Interface
SYMBOL PIN I/O FUNCTION
SCPSNT CTSD# GP77 SCIO DSRD# 108 GP76 SCCLK RTSD# GP75 SCRST DTRD# GP74 SCC8 SOUTC GP72 SCPWR DCDD# GP71 SCC4 RID# GP70 114 113 112 110 109 107
INts INt I/OD24t I/O24t INt
Smart card present detection Schmitt-trigger input. Clear To Send. It is the modem control. General purpose I/O port 7 bit7. Smart card data I/O channel. Data Set Ready. An active low signal indicates the modem or data set is ready to establish a communication link and transfer data to the UART. General purpose I/O port 7 bit6. Smart card clock output. UART C Request To Send. An active low signal informs the modem or data set that the controller is ready to send data. General purpose I/O port 7 bit5. Smart card reset output. UART C Data Terminal Ready. An active low signal informs the modem or data set that the controller is ready to communicate. General purpose I/O port 7 bit4. Smart card General Purpose I/O channel. UART B Serial Output. It is used to transmit serial data out to the communication link. General purpose I/O port 7 bit2. Smart card power control. Data Carrier Detect. An active low signal indicates the modem or data set has detected a data carrier. General purpose I/O port 7 bit1. Smart card General Purpose I/O channel. Ring Indicator. An active low signal indicates that a ring signal is being received from the modem or data set. General purpose I/O port 7 bit0.
I/OD24t O4 O4 I/OD4t O24 O24 I/OD24t I/O24t O24t I/OD24t O12 INt I/OD12t I/O24t INt I/OD24t
- 20 -
W83697UF/W83697UG
5.9 PWM & General Purpose I/O Port 8
SYMBOL PIN I/O FUNCTION
PWM2 PLED GP83 PWM1-0 GP82-81 116117
O12
Fan speed control . Use the Pulse Width Modulation (PWM) Power LED output, this signal is low after system reset. General purpose I/O port 8 bit2-1 Fan speed control . Use the Pulse Width Modulation (PWM) Technic knowledge to control the Fan's RPM. General purpose I/O port 8 bit2-1
115
O12 I/OD12t O12 I/OD12t
5.10 Game Port & MIDI Port
SYMBOL PIN I/O FUNCTION
MSI GP51 MSO GP50 GPAS2
119 120
INcu I/OD24c O12 I/OD12t INcs
MIDI serial data input . General purpose I/O port 5 bit 1. MIDI serial data output. General purpose I/O port 5 bit 0. Active-low, Joystick I switch input 2. This pin has an internal pull-up resistor. (Default) General purpose I/O port 1 bit 7. Active-low, Joystick II switch input 2. This pin has an internal pull-up resistor. (Default) General purpose I/O port 1 bit 6. Joystick I timer pin. this pin connect to Y positioning variable resistors for the Josystick. (Default) General purpose I/O port 1 bit 5. Joystick II timer pin. this pin connect to Y positioning variable resistors for the Josystick. (Default) General purpose I/O port 1 bit 4. Joystick II timer pin. this pin connect to X positioning variable resistors for the Josystick. (Default) General purpose I/O port 1 bit 3. Joystick I timer pin. this pin connect to X positioning variable resistors for the Josystick. (Default) General purpose I/O port 1 bit 2.
121 GP17 GPBS2 122 GP16 GPAY 123 GP15 GPBY 124 GP14 GPBX 125 GP13 GPAX 126 GP12 I/OD24cs I/OD24cs I/OD24a I/OD24cs I/OD24a I/OD24cs I/OD24a I/OD24cs I/OD24a I/OD24cs INcs
- 21 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
Game Port & MIDI Port, continued
SYMBOL
PIN
I/O
FUNCTION
GPBS1 127 GP11 GPAS1 128 GP10
Incs I/OD24csu Incs I/OD24cs
Active-low, Joystick II switch input 1. This pin has an internal pull-up resistor. (Default) General purpose I/O port 1 bit 1. Active-low, Joystick I switch input 1. This pin has an internal pull-up resistor. (Default) General purpose I/O port 1 bit 0.
5.11 POWER PINS
SYMBOL PIN FUNCTION
VCC VCC3V GND
5, 45, 75, 22 18, 60, 90,
+5V power supply for the digital circuitry. +3.3V power supply for driving 3V on host interface. Ground.
6. CONFIGURATION REGISTER
6.1 Plug and Play Configuration
The W83697UF uses Compatible PNP protocol to access configuration registers for setting up different types of configurations. In W83697UF, there are eleven Logical Devices (from Logical Device 0 to Logical Device B with the exception of logical device 4 for backward compatibility) which correspond to eleven individual functions: FDC (logical device 0), PRT (logical device 1), UART1 (logical device 2), UART2 (logical device 3), CIR (Consumer IR, logical device 6), GPIO1 (logical device 7), GPIO5(logical device 8),GPIO2 ~GPIO4(logical device 9), ACPI ((logical device A), and Hardware monitor (logical device B). Each Logical Device has its own configuration registers (above CR30). Host can access those registers by writing an appropriate logical device number into logical device select register at CR7.
7 x
6 x
5 x
4 x
3 x
2 x
1
0
DRATE0 DRATE1
- 22 -
W83697UF/W83697UG
6.2 Compatible PnP
6.2.1 Extended Function Registers
In Compatible PnP, there are two ways to enter Extended Function and read or write the configuration registers. HEFRAS (CR26 bit 6) can be used to select one out of these two methods of entering the Extended Function mode as follows:
HEFRAS ADDRESS AND VALUE
0 1
write 87h to the location 2Eh twice write 87h to the location 4Eh twice
After Power-on reset, the value on RTSA# (pin 49) is latched by HEFRAS of CR26. In Compatible PnP, a specific value (87h) must be written twice to the Extended Functions Enable Register (I/O port address 2Eh or 4Eh). Secondly, an index value (02h, 07h-FFh) must be written to the Extended Functions Index Register (I/O port address 2Eh or 4Eh same as Extended Functions Enable Register) to identify which configuration register is to be accessed. The designer can then access the desired configuration register through the Extended Functions Data Register (I/O port address 2Fh or 4Fh). After programming of the configuration register is finished, an additional value (AAh) should be written to EFERs to exit the Extended Function mode to prevent unintentional access to those configuration registers. The designer can also set bit 5 of CR26 (LOCKREG) to high to protect the configuration registers against accidental accesses. The configuration registers can be reset to their default or hardware settings only by a cold reset (pin MR = 1). A warm reset will not affect the configuration registers.
6.2.2
Extended Functions Enable Registers (EFERs)
After a power-on reset, the W83697UF enters the default operating mode. Before the W83697UF enters the extended function mode, a specific value must be programmed into the Extended Function Enable Register (EFER) so that the extended function register can be accessed. The Extended Function Enable Registers are write-only registers. On a PC/AT system, their port addresses are 2Eh or 4Eh (as described in previous section).
6.2.3
Extended Function Index Registers (EFIRs), Extended Function Data Registers (EFDRs)
After the extended function mode is entered, the Extended Function Index Register (EFIR) must be loaded with an index value (02h, 07h-FEh) to access Configuration Register 0 (CR0), Configuration Register 7 (CR07) to Configuration Register FE (CRFE), and so forth through the Extended Function Data Register (EFDR). The EFIRs are write-only registers with port address 2Eh or 4Eh on PC/AT systems; the EFDRs are read/write registers with port address 2Fh or 4Fh on PC/AT systems.
6.3 Configuration Sequence
To program W83697UF configuration registers, the following configuration sequence must be followed: (1). Enter the extended function mode (2). Configure the configuration registers (3). Exit the extended function mode
- 23 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
6.3.1 Enter the extended function mode
To place the chip into the extended function mode, two successive wrtites of 0x87 must be applied to Extended Function Enable Registers (EFERs, i.e. 2Eh or 4Eh).
6.3.2
Configurate the configuration registers
The chip selects the logical device and activates the desired logical devices through Extended Function Index Register (EFIR) and Extended Function Data Register (EFDR). EFIR is located at the same address as EFER, and EFDR is located at address (EFIR+1). First, write the Logical Device Number (i.e.,0x07) to the EFIR and then write the number of the desired logical device to the EFDR. If accessing the Chip (Global) Control Registers, this step is not required. Secondly, write the address of the desired configuration register within the logical device to the EFIR and then write (or read) the desired configuration register through EFDR.
6.3.3
Exit the extended function mode
To exit the extended function mode, one write of 0xAA to EFER is required. Once the chip exits the extended function mode, it is in the normal running mode and is ready to enter the configuration mode.
6.3.4
Software programming example
The following example is written in Intel 8086 assembly language. It assumes that the EFER is located at 2Eh, so EFIR is located at 2Eh and EFDR is located at 2Fh. If HEFRAS (CR26 bit 6) is set, 4Eh can be directly replaced by 4Eh and 2Fh replaced by 4Fh. ;----------------------------------------------------------------------------------; Enter the extended function mode, interruptible double-write ;----------------------------------------------------------------------------------MOV OUT OUT DX,2EH DX,AL DX,AL MOV AL,87H |
;----------------------------------------------------------------------------; Configurate logical device 1, configuration register CRF0 | ;----------------------------------------------------------------------------MOV MOV OUT MOV MOV OUT ; MOV DX,2EH DX,2EH AL,07H DX,AL DX,2FH AL,01H DX,AL ; select logical device 1 ; point to Logical Device Number Reg.
- 24 -
W83697UF/W83697UG
MOV OUT MOV OUT AL,F0H DX,AL DX,2FH DX,AL ; update CRF0 with value 3CH | ; select CRF0
MOV AL,3CH ;-----------------------------------------; Exit extended function mode ;-----------------------------------------MOV OUT DX,2EH DX,AL MOV AL,AAH
6.4 Chip (Global) Control Register
CR02 (Default 0x00) (Write only)
Bit [7:1]: Reserved. Bit 0
CR07
= 1 SWRST --> Soft Reset.
Bit [7:0]: LDNB7 - LDNB0 --> Logical Device Number Bit 7 - 0
CR20 (read only)
Bit [7:0]:
DEVIDB7 - DEBIDB0 --> Device ID Bit 7 - Bit 0 = 0x 68 (for W83697UF)
CR21 (read only)
DEVREVB7 - DEBREVB0 --> Device Rev = 0x1X (for W83697UF) Bit [7:0]: X : Version change number. (Bit [3:0]) --> begin from 1
CR22 (Default 0xef)
Bit 7:
SCPWD 0 1 Power down No Power down Power down No Power down
Bit 6:
URDPWD 0 1
- 25 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
Bit 5:
URCPWD 0 1 Power down No Power down
Bit 4: Bit 3:
Reserved URBPWD 0 1 Power down No Power down Power down No Power down Power down No Power down Power down No Power down
Bit 2:
URAPWD 0 1
Bit 1:
PRTPWD 0 1
Bit 0:
FDCPWD 0 1
CR23 (Default 0xfe)
Bit [7:1]: Reserved. Bit 0: IPD (Immediate Power Down). When set to 1, it will put the whole chip into power down mode immediately.
CR24 (Default 0s1000ss)
Bit 7:
Flash ROM I/F Address Segment (000F0000h ~ 000FFFFFh) enable/disable 0 1 Enable Disable The clock input on Pin 1 should be 24 MHz. The clock input on Pin 1 should be 48 MHz. The corresponding power-on setting pin is SOUTB (pin 61). 1M 2M 4M Reserved
Bit 6:
CLKSEL(Enable 48Mhz) 0 1
Bit [5:4]: ROM size select 00 01 10 11
- 26 -
W83697UF/W83697UG
Bit 3:
MEMW# Select (PIN97) 0 1 MEMW# Disable MEMW# Enable Enable Disable Flash ROM Interface is enabled after hardware reset Flash ROM Interface is disabled after hardware reset The corresponding power-on setting pin is PENROM#(pin 52) The Compatible PnP address select registers have default values. The Compatible PnP address select registers have no default value. The corresponding power-on setting pin is DTRA# (pin 50).
Bit 2:
Flash ROM I/F Address Segment (000E0000h ~ 000EFFFFh) enable/disable 0 1
Bit 1:
Enable Flash ROM Interface 0 1
Bit 0:
PNPCSV 0 1
CR25 (Default 0x00)
Bit 7: Bit 6: Bit 5: Bit 4: Bit 3: Bit 2: Bit 1: Bit 0:
SCTRI URDTRI URCTRI Reserved URBTRI URATRI PRTTRI FDCTRI
CR26 (Default 0x00)
Bit 7:
SEL4FDD 0 1 Select two FDD mode. Select four FDD mode.
HEFRAS Bit 6: These two bits define how to enable Configuration mode. The corresponding power-on setting pin is RTSA #(pin 49). HEFRAS Address and Value 0 1 Write 87h to the location 2E twice. Write 87h to the location 4E twice.
- 27 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
Bit 5:
Bit 4: Bit 3:
Bit 2:
Bit 1:
Bit 0:
LOCKREG 0 Enable R/W Configuration Registers. 1 Disable R/W Configuration Registers. Reserved DSFDLGRQ Enable FDC legacy mode on IRQ and DRQ selection, then DO register bit 3 is 0 effective on selecting IRQ Disable FDC legacy mode on IRQ and DRQ selection, then DO register bit 3 is not 1 effective on selecting IRQ DSPRLGRQ Enable PRT legacy mode on IRQ and DRQ selection, then DCR bit 4 is effective on 0 selecting IRQ Disable PRT legacy mode on IRQ and DRQ selection, then DCR bit 4 is not effective 1 on selecting IRQ DSUALGRQ Enable UART A/C legacy mode IRQ selecting, then HCR bit 3 is effective on 0 selecting IRQ Disable UART A/C legacy mode IRQ selecting, then HCR bit 3 is not effective on 1 selecting IRQ DSUBLGRQ Enable UART B/D legacy mode IRQ selecting, then HCR bit 3 is effective on 0 selecting IRQ Disable UART B/D legacy mode IRQ selecting, then HCR bit 3 is not effective on 1 selecting IRQ
CR28 (Default 0x00)
Bit [7:4]: Reserved. Bit [3]: Flash ROM I/F Address Segment (FFE80000h ~ FFEFFFFFh) enable/disable 0 1 Disable Enable
Bit [2:0]: PRTMODS2 - PRTMODS0 0xx Parallel Port Mode 100 Reserved 101 External FDC Mode 110 Reserved 111 External two FDC Mode
- 28 -
W83697UF/W83697UG
CR29 (GPIO1,5(50~51) & Game port & MIDI port Select. Default 0x00 )
Bit 7:
Port Select (select Game Port or General Purpose I/O Port 1) 0 Game Port 1 General Purpose I/O Port 1 (pin121~128 select function GP10~GP17) Bit [6:5]: (Pin119) 00 MSI 01 Reserved 10 Reserved 11 GP51 Bit [4:3]: (Pin 120) 00 MSO 01 Reserved 10 Reserved 11 GP50 Bit 2: Reserved Bit [1:0]: Reserved
CR2A(GPIO2 ~ 5& Flash ROM Interface Select, default 0xFF if PENROM# = 0 during POR, default 0x00 otherwise)
(PIN 86 ~89 & 91 ~94) 0 GPIO 2 1 Flash IF (xD7 ~ XD0) Bit 6: (PIN 78 ~ 85) 0 GPIO 3 1 Flash IF (XA7 ~ XA0) Bit 5: (PIN 69 ~ 74 & 76 ~77) 0 GPIO 4 1 Flash IF (XA15 ~ XA10 & XA9 ~ A8) Bit 4: (PIN 66 ~ 68 & 95 ~ 97) 0 GPIO 5(GP52 ~ 57) 1 Flash IF(XA18 ~ XA16 , ROMCS#, MEMR #, MEMW#) Bit [3:0]: Reserved
Bit 7:
- 29 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
CR2B(PWM & GPIO8, URC & GPIO6 Select. Default 0x00 )
Bit [7]:
Reserved. 00 01 10 11 PWM2 PLED Reserved GP83 PWM1 GP82 PWM0 GP81 WDTO GP80 URC(NCTSC, NDSRC, NRTSC, NDTRC, NDCDC, NRIC) GPIO6(GP67, GP66, GP65, GP64, GP61, GP60) URC(SINC, SOUTC) GPIO6(GP63, GP62)
Bit [6:5]: (Pin115)
Bit [4]:
(Pin116) 0 1
Bit [3]:
(Pin117) 0 1
Bit [2]:
(Pin118) 0 1
Bit [1]:
(Pin99, Pin100, Pin101, Pin102, Pin105, Pin106) 0 0
Bit [0]:
(Pin103, Pin104) 0 1
CR2C(SC & URD & GPIO7 Select. Default 0x30)
Bit [7:6]: (Pin107, Pin108, Pin109, Pin110, Pin113) 00 01 10 11 00 01 10 11 SC(SCPSNT, SCIO,SCCLK, SCRST, SCPWR) URD(NCTSD,NDSRD, NRTSD, NDTRD, NDCDD) Reserved GPIO7(GP77, GP76, GP75, GP74, GP71) Reserved SIND Reserved GP73
Bit [5:4]: (Pin111)
- 30 -
W83697UF/W83697UG
Bit [3:2]: (Pin112) 00 01 10 11 00 01 10 11 SCC8 SOUTD Reserved GP72 SCC4 NRID Reserved GP70
Bit [1:0]: (Pin114)
6.5 Logical Device 0 (FDC)
CR30 (Default 0x01 if PNPCSV = 0 during POR, default 0x00 otherwise)
Bit [7:1]: Reserved. Bit 0: 1 0 Activates the logical device. Logical device is inactive.
CR60, CR61 (Default 0x03, 0xf0 if PNPCSV = 0 during POR, default 0x00, 0x00 otherwise)
These two registers select FDC I/O base address [0x100:0xFF8] on 8 byte boundary.
CR70 (Default 0x06 if PNPCSV = 0 during POR, default 0x00 otherwise)
Bit [7:4]: Reserved. Bit [3:0]: These bits select IRQ resource for FDC.
CR74 (Default 0x02 if PNPCSV = 0 during POR, default 0x04 otherwise)
Bit [7:3]: Reserved. Bit [2:0]: These bits select DRQ resource for FDC. = 0x00 DMA0 = 0x01 DMA1 = 0x02 DMA2 = 0x03 DMA3 = 0x04 - 0x07 No DMA active
- 31 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
CRF0 (Default 0x0E)
FDD Mode Register FIPURDWN This bit controls the internal pull-up resistors of the FDC input pins RDATA, INDEX, TRAK0, DSKCHG, and WP. 0 The internal pull-up resistors of FDC are turned on.(Default) 1 The internal pull-up resistors of FDC are turned off. INTVERTZ Bit 6: This bit determines the polarity of all FDD interface signals. 0 FDD interface signals are active low. 1 FDD interface signals are active high. DRV2EN (PS2 mode only) Bit 5: When this bit is a logic 0, indicates a second drive is installed and is reflected in status register A. Bit 4: Swap Drive 0, 1 Mode 0 No Swap (Default) 1 Drive and Motor select 0 and 1 are swapped. Bit 3 - 2 Interface Mode 11 AT Mode (Default) 10 (Reserved) 01 PS/2 00 Model 30 Bit 1: FDC DMA Mode 0 Burst Mode is enabled 1 Non-Burst Mode (Default) Bit 0: Floppy Mode 0 Normal Floppy Mode (Default) 1 Enhanced 3-mode FDD Bit 7:
CRF1 (Default 0x00)
Bit 7 - 6: Boot Floppy 00 01 10 11 FDD A FDD B FDD C FDD D
Bit [5:4]: Media ID1, Media ID0. These bits will be reflected on FDC's Tape Drive Register bit 7, 6.
- 32 -
W83697UF/W83697UG
Bit [3:2]: Density Select 00 01 10 11 Bit 1: 0 1 Bit 0: 0 1 Normal (Default) Normal 1 ( Forced to logic 1) 0 ( Forced to logic 0) Enable FDD write. Disable FDD write(forces pins WE, WD stay high). Normal, use WP to determine whether the FDD is write protected or not. FDD is always write-protected.
DISFDDWR
SWWP
CRF2 (Default 0xFF)
Bit [7:6]: FDD D Drive Type Bit [5:4]: FDD C Drive Type Bit [3:2]: FDD B Drive Type Bit [1:0]: FDD A Drive Type
CRF4 (Default 0x00)
FDD0 Selection: Bit 7: Bit 6: Reserved. Precomp. Disable. 1 0 Bit 5: Disable FDC Precompensation. Enable FDC Precompensation.
Reserved. 00 01 10 11 Select Regular drives and 2.88 format 3-mode drive 2 Meg Tape Reserved
Bit 4 - 3: DRTS1, DRTS0: Data Rate Table select (Refer to TABLE A).
Bit 2:
Reserved.
Bit [1:0]: DTYPE0, DTYPE1: Drive Type select (Refer to TABLE B).
- 33 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
CRF5 (Default 0x00)
FDD1 Selection: Same as FDD0 of CRF4.
TABLE A
DRIVE RATE TABLE SELECT DRTS1 DRTS0 DATA RATE DRATE1 DRATE0 SELECTED DATA RATE MFM FM SELDEN
1 0 0 0 0 1 1 0 1 0 0 1 1 1 0 0 0 1
1 0 1 0 1 0 1 0 1 0 1 0
TABLE B
1Meg 500K 300K 250K 1Meg 500K 500K 250K 1Meg 500K 2Meg 250K
--250K 150K 125K --250K 250K 125K --250K --125K
1 1 0 0 1 1 0 0 1 1 0 0
DTYPE0
DTYPE1
DRVDEN0(PIN 2)
DRVDEN1(PIN 3)
DRIVE TYPE
4/2/1 MB 3.5"" 0 0 1 1 0 1 0 1 SELDEN DRATE1
SELDEN
DRATE0 DRATE0 DRATE0 DRATE1
2/1 MB 5.25" 2/1.6/1 MB 3.5" (3-MODE)
DRATE0
6.6 Logical Device 1 (Parallel Port)
CR30 (Default 0x01 if PNPCSV = 0 during POR, default 0x00 otherwise)
Bit [7:1]: Reserved. Bit 0: 1 Activates the logical device. 0 Logical device is inactive.
- 34 -
W83697UF/W83697UG
CR60, CR61 (Default 0x03, 0x78 if PNPCSV = 0 during POR, default 0x00, 0x00 otherwise)
These two registers select Parallel Port I/O base address. [0x100:0xFFC] on 4 byte boundary (EPP not supported) or [0x100:0xFF8] on 8 byte boundary (all modes supported, EPP is only available when the base address is on 8 byte boundary).
CR70 (Default 0x07 if PNPCSV = 0 during POR, default 0x00 otherwise)
Bit [7:4]: Reserved. Bit [3:0]: These bits select IRQ resource for Parallel Port.
CR74 (Default 0x03)
Bit [7:3]: Reserved. Bit [2:0]: These bits select DRQ resource for Parallel Port. 0x00=DMA0 0x01=DMA1 0x02=DMA2 0x03=DMA3 0x04 - 0x07= No DMA active
CRF0 (Default 0x3F)
Bit 7: Reserved. Bit [6:3]: ECP FIFO Threshold. Bit [2:0]: Parallel Port Mode (CR28 PRTMODS2 = 0) 100 Printer Mode 000 Standard and Bi-direction (SPP) mode 001 EPP - 1.9 and SPP mode 101 EPP - 1.7 and SPP mode 010 ECP mode 011 ECP and EPP - 1.9 mode 111 ECP and EPP - 1.7 mode (Default)
6.7 Logical Device 2 (UART A)
CR30 (Default 0x01 if PNPCSV = 0 during POR, default 0x00 otherwise)
Bit [7:1]: Reserved. Bit 0: 1 0 Activates the logical device. Logical device is inactive.
CR60, CR61 (Default 0x03, 0xF8 if PNPCSV = 0 during POR, default 0x00, 0x00 otherwise)
These two registers select Serial Port 1 I/O base address [0x100:0xFF8] on 8 byte boundary.
- 35 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
CR70 (Default 0x04 if PNPCSV = 0 during POR, default 0x00 otherwise)
Bit [7:4]: Reserved. Bit [3:0]: These bits select IRQ resource for Serial Port 1.
CRF0 (Default 0x00)
Bit 7: Bit 6:
Reserved. 1 0 Activates the logical device IRQ sharing function. Logical device IRQ sharing is inactive.
Bit [5:2]: Reserved. Bit [1:0]: SUACLKB1, SUACLKB0 00 01 10 11 UART A clock source is 1.8462 Mhz (24MHz/13) UART A clock source is 2 Mhz (24MHz/12) UART A clock source is 24 Mhz (24MHz/1) UART A clock source is 14.769 Mhz (24mhz/1.625)
6.8 Logical Device 3 (UART B)
CR30 (Default 0x01 if PNPCSV = 0 during POR, default 0x00 otherwise)
Bit [7:1]: Reserved. Bit 0: 1 0 Activates the logical device. Logical device is inactive.
CR60, CR61 (Default 0x02, 0xF8 if PNPCSV = 0 during POR, default 0x00, 0x00 otherwise)
These two registers select Serial Port 2 I/O base address [0x100:0xFF8] on 8 byte boundary.
CR70 (Default 0x03 if PNPCSV = 0 during POR, default 0x00 otherwise)
Bit [7:4]: Reserved. Bit [3:0]: These bits select IRQ resource for Serial Port 2.
CRF0 (Default 0x00)
Bit 7: Bit 6:
Reserved. 1 0 Activates the logical device IRQ sharing function. Logical device IRQ sharing is inactive.
Bit [5:4]: Reserved. Bit 3: RXW4C 0 1 No reception delay when SIR is changed from TX mode to RX mode. Reception delays 4 characters-time (40 bit-time) when SIR is changed from TX mode to RX mode.
- 36 -
W83697UF/W83697UG
Bit 2:
TXW4C 0 1 No transmission delay when SIR is changed from RX mode to TX mode. Transmission delays 4 characters-time (40 bit-time) when SIR is changed from RX mode to TX mode. UART B clock source is 1.8462 Mhz (24MHz/13) UART B clock source is 2 Mhz (24MHz/12) UART B clock source is 24 Mhz (24MHz/1) UART B clock source is 14.769 Mhz (24mhz/1.625)
Bit [1:0]: SUBCLKB1, SUBCLKB0 00 01 10 11
CRF1 (Default 0x00)
Bit 7: Bit 6:
Reserved. IRLOCSEL. IR I/O pins' location select. 0 1 Through SINB/SOUTB. Through IRRX/IRTX.
Bit 5: Bit 4: Bit 3:
IR MODE
IRMODE2. IR function mode selection bit 2. IRMODE1. IR function mode selection bit 1. IRMODE0. IR function mode selection bit 0.
IR FUNCTION IRTX IRRX
00X 010* 011* 100 101 110 111*
Disable IrDA IrDA ASK-IR ASK-IR ASK-IR ASK-IR
tri-state Active pulse 1.6 S Active pulse 3/16 bit time Inverting IRTX/SOUTB pin Inverting IRTX/SOUTB & 500 KHZ clock Inverting IRTX/SOUTB Inverting IRTX/SOUTB & 500 KHZ clock
high Demodulation into SINB/IRRX Demodulation into SINB/IRRX routed to SINB/IRRX routed to SINB/IRRX Demodulation into SINB/IRRX Demodulation into SINB/IRRX
Note: The notation is normal mode in the IR function.
Bit 2:
HDUPLX. IR half/full duplex function select. 0 1 The IR function is Full Duplex. The IR function is Half Duplex.
- 37 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
Bit 1:
TX2INV. 0 1 the SOUTB pin of UART B function or IRTX pin of IR function in normal condition. inverse the SOUTB pin of UART B function or IRTX pin of IR function. the SINB pin of UART B function or IRRX pin of IR function in normal condition. inverse the SINB pin of UART B function or IRRX pin of IR function
Bit 0:
RX2INV. 0 1
6.9 Logical Device 7 (Game Port and GPIO Port 1)
CR30 (Default 0x00)
Bit [7:1]: Reserved. Bit 0: 1 0 Game/GP1 Port is active. Game/GP1 Port is inactive.
CR60, CR61 (Default 0x02, 0x01 if PNPCSV = 0 during POR, default 0x00 otherwise)
These two registers select the Game Port base address [0x100:0xFFF] on 8 byte boundary.
CR62, CR63 (Default 0x00, 0x00)
These two registers select the GPIO1 base address [0x100:0xFFF] on 1 byte boundary O address : CRF1 base address
CRF0 (GP10-GP17 I/O selection register. Default 0xFF)
When set to a '1', respective GPIO port is programmed as an input port. When set to a '0', respective GPIO port is programmed as an output port.
CRF1 (GP10-GP17 data register. Default 0x00)
If a port is programmed to be an output port, then its respective bit can be read/written If a port is programmed to be an input port, then its respective bit can only be read.
CRF2 (GP10-GP17 inversion register. Default 0x00)
When set to a '1', the incoming/outgoing port value is inverted. When set to a '0', the incoming/outgoing port value is the same as in data register.
6.10 Logical Device 8 (MIDI Port and GPIO Port 5)
CR30 (MIDI Port Default 0x00)
Bit [7:1]: Reserved. Bit 0: 1 0 MIDI/GP5 port is activate MIDI/GP5 port is inactive.
- 38 -
W83697UF/W83697UG
CR60, CR61 (Default 0x03, 0x30 if PNPCSV = 0 during POR, default 0x00 otherwise)
These two registers select the MIDI Port base address [0x100:0xFFF] on 2byte boundary.
CR62, CR63 (Default 0x00, 0x00 )
These two registers select the GPIO5 base address [0x100:0xFFF] on 4byte boundary. IO address : CRF1 base address IO address + 1 : CRF3 base address IO address + 2 : CRF4 base address IO address + 3 : CRF5 base address
CR70 (Default 0x09 if PNPCSV = 0 during POR, default 0x00 otherwise)
Bit [7:4]: Reserved. Bit [3:0]: These bits select IRQ resource for MIDI Port .
CRF0 (GP5 selection register. Default 0xFF)
When set to a '1', respective GPIO port is programmed as an input port. When set to a '0', respective GPIO port is programmed as an output port.
CRF1 (GP5 data register. Default 0x00)
If a port is programmed to be an output port, then its respective bit can be read/written. If a port is programmed to be an input port, then its respective bit can only be read.
CRF2 (GP5 inversion register. Default 0x00)
When set to a '1', the incoming/outgoing port value is inverted. When set to a '0', the incoming/outgoing port value is the same as in data register.
CRF3 (PLED mode register. Default 0x00)
Bit [7:3] : Reserved . Bit 2: select WDTO count mode. 0 1 00 01 10 11 second minute Power LED pin is tri-stated. Power LED pin is droved low. Power LED pin is a 1Hz toggle pulse with 50 duty cycle. Power LED pin is a 1/4Hz toggle pulse with 50 duty cycle.
Bit [1:0]: select PLED mode
CRF4 (Default 0x00)
Watch Dog Timer Time-out value. Writing a non-zero value to this register causes the counter to load the value to Watch Dog Counter and start counting down. Reading this register returns current value in Watch Dog Counter instead of Watch Dog Timer Time-out value.
- 39 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
Bit [7:0]: = 0x00 Time-out Disable = 0x01 Time-out occurs after 1 second/minute = 0x02 Time-out occurs after 2 second/minutes = 0x03 Time-out occurs after 3 second/minutes ................................................ = 0xFF Time-out occurs after 255 second/minutes
CRF5 (Default 0x00)
Bit [7] : Bit [6] : Bit 5: Bit 4:
Reserved . invert Watch Dog Timer Status Force Watch Dog Timer Time-out, Write only* 1 1 0 MI. Force Watch Dog Timer time-out event; this bit is self-clearing. Watch Dog Timer time-out occurred. Watch Dog Timer counting Watch Dog Timer Status, R/W
Bit [3:0]: These bits select IRQ resource for Watch Dog. Setting of 2 selects S
6.11 Logical Device 9 (GPIO Port 2 ~ GPIO Port 4 )
CR30 (Default 0x00)
Bit [7:3] Reserved. Bit 2: Bit 1: Bit 0: 1 0 1 0 1 0 GP4 port is active. GP4 port is inactive GP3 port is active. GP3 port is inactive GP2 port is active. GP2 port is inactive.
CR60,CR61(Default 0x00,0x00).
These two registers select the GP2,3,4 base address(0x100:FFF) ON 3 bytes boundary. IO address: CRF1 base address IO address + 1 : CRF4 base address IO address + 2 : CRF7 base address
CRF0 (GP2 I/O selection register. Default 0xFF )
When set to a '1', respective GPIO port is programmed as an input port. When set to a '0', respective GPIO port is programmed as an output port.
- 40 -
W83697UF/W83697UG
CRF1 (GP2 data register. Default 0x00 )
If a port is programmed to be an output port, then its respective bit can be read/written. If a port is programmed to be an input port, then its respective bit can only be read.
CRF2 (GP2 inversion register. Default 0x00 )
When set to a '1', the incoming/outgoing port value is inverted. When set to a '0', the incoming/outgoing port value is the same as in data register.
CRF3 (GP3 I/O selection register. Default 0xFF )
When set to a '1', respective GPIO port is programmed as an input port. When set to a '0', respective GPIO port is programmed as an output port.
CRF4 (GP3 data register. Default 0x00 )
If a port is programmed to be an output port, then its respective bit can be read/written. If a port is programmed to be an input port, then its respective bit can only be read.
CRF5 (GP3 inversion register. Default 0x00 )
When set to a '1', the incoming/outgoing port value is inverted. When set to a '0', the incoming/outgoing port value is the same as in data register.
CRF6 (GP4 I/O selection register. Default 0xFF )
When set to a '1', respective GPIO port is programmed as an input port. When set to a '0', respective GPIO port is programmed as an output port.
CRF7 (GP4 data register. Default 0x00 )
If a port is programmed to be an output port, then its respective bit can be read/written. If a port is programmed to be an input port, then its respective bit can only be read.
CRF8 (GP4 inversion register. Default 0x00 )
When set to a '1', the incoming/outgoing port value is inverted. When set to a '0', the incoming/outgoing port value is the same as in data register.
6.12 Logical Device A (ACPI)
CR30 (Default 0x00)
Bit [7:1]: Reserved. Bit 0: 1 0 Activates the logical device. Logical device is inactive.
CR70 (Default 0x00)
Bit [7:4]: Reserved. Bit [3:0]: These bits select IRQ resources for SMI / PME
- 41 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
CRF0 (Default 0x00)
Bit 7:
CHIPPME. Chip level auto power management enable. 0 1 disable the auto power management functions enable the auto power management functions.
Bit 6: Bit 5:
Reserved. (Return zero when read) MIDIPME. MIDI port auto power management enable. 0 1 disable the auto power management functions enable the auto power management functions.
Bit 4: Bit 3:
Reserved. (Return zero when read) PRTPME. PRT auto power management enable. 0 1 disable the auto power management functions. enable the auto power management functions. disable the auto power management functions. enable the auto power management functions. disable the auto power management functions. enable the auto power management functions. disable the auto power management functions. enable the auto power management functions.
Bit 2:
FDCPME. FDC auto power management enable. 0 1
Bit 1:
URAPME. UART A auto power management enable. 0 1
Bit 0:
URBPME. UART B auto power management enable. 0 1
CRF1 (Default 0x00)
Bit 7:
WAK_STS. This bit is set when the chip is in the sleeping state and an enabled resume event occurs. Upon setting this bit, the sleeping/working state machine will transition the system to the working state. This bit is only set by hardware and is cleared by writing a 1 to this bit position or by the sleeping/working state machine automatically when the global standby timer expires. 0 1 the chip is in the sleeping state. the chip is in the working state.
Bit 6: Bit 5: Bit 4: Bit 3: Bit 2: Bit 1: Bit 0:.
Reserved. (Return zero when read) MIDI's trap status. Reserved. (Return zero when read) PRT's trap status. FDC's trap status. URA's trap status. URB's trap status
- 42 -
W83697UF/W83697UG
CRF2 (Default 0x00)
Bit [7:3]: Reserved. (Return zero when read) Bit 2: Bit 1: Bit 0: SC's trap status. URD's trap status. URC's trap status.
CRF3 (Default 0x00)
These bits indicate the IRQ status of the individual device respectively. The device's IRQ status bit is set by their source device and is cleared by writing a 1. Writing a 0 has no effect. Bit 7: Bit 6: Bit 3: Bit 2: Bit 1: Bit 0: URDIRQSTS. URD IRQ status. URCIRQSTS. URC IRQ status. PRTIRQSTS. PRT IRQ status. FDCIRQSTS. FDC IRQ status. URAIRQSTS. UART A IRQ status. URBIRQSTS. UART B IRQ status.
Bit [5:4]: Reserved. (Return zero when read)
CRF4 (Default 0x00)
These bits indicate the IRQ status of the individual GPIO function or logical device respectively. The status bit is set by their source function or device and is cleared by writing a 1. Writing a 0 has no effect. Bit 7: Bit 6: Bit 2: Bit 1: Bit 0: Reserved. (Return zero when read) SCIRQSTS. SC IRQ status. WDTIRQSTS. Watch dog timer IRQ status. Reserved. (Return zero when read). MIDIIRQSTS. MIDI IRQ status.
Bit [5:3]: Reserved. (Return zero when read)
CRF6 (Default 0x00)
These bits enable the generation of an SMI /PME interrupt due to any IRQ of the devices.
SMI /PME logic output = (PRTIRQEN and PRTIRQSTS) or (FDCIRQEN and FDCIRQSTS)
or (URAIRQEN and URAIRQSTS) or (URBIRQEN and URBIRQSTS) or (URCIRQEN and URCIRQSTS) or (WDTIRQEN and WDTIRQSTS) or (URDIRQEN and URDIRQEN) or (MIDIIRQEN and MIDIIRQEN) or (SCIRQEN and SCIRQEN)
- 43 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
Bit 7:
URDIRQEN. 0 1 disable the generation of an SMI /PME interrupt due to URD's IRQ. enable the generation of an SMI /PME interrupt due to URD's IRQ.
Bit 6:
URCIRQEN. 0 1 disable the generation of an SMI /PME interrupt due to URC's IRQ. enable the generation of an SMI /PME interrupt due to URC's IRQ.
Bit [5:4]: Reserved (Return zero when read) Bit 3: PRTIRQEN. 0 1 Bit 2: disable the generation of an SMI /PME interrupt due to PRT's IRQ. enable the generation of an SMI /PME interrupt due to PRT's IRQ.
FDCIRQEN. 0 1 disable the generation of an SMI /PME interrupt due to FDC's IRQ. enable the generation of an SMI /PME interrupt due to FDC's IRQ.
Bit 1:
URAIRQEN. 0 1 disable the generation of an SMI /PME interrupt due to UART A's IRQ. enable the generation of an SMI /PME interrupt due to UART A's IRQ.
Bit 0:
URBIRQEN. 0 1 disable the generation of an SMI /PME interrupt due to UART B's IRQ. enable the generation of an SMI /PME interrupt due to UART B's IRQ.
CRF7 (Default 0x00)
These bits enable the generation of an SMI /PME interrupt due to any IRQ of the devices. Bit 7: Bit 6: Reserved. (Return zero when read) SCIRQEN. 0 1 Bit 2: disable the generation of an SMI /PME interrupt due to SC timer's IRQ. enable the generation of an SMI /PME interrupt due to SC timer's IRQ.
Bit [5:3]: Reserved. (Return zero when read) WDTIRQEN. 0 1 Bit 1: disable the generation of an SMI /PME interrupt due to watch dog timer's IRQ. enable the generation of an SMI / SMI interrupt due to watch dog timer's IRQ.
Reserved. (Return zero when read)
- 44 -
W83697UF/W83697UG
Bit 0:
MIDIIRQEN. 0 1 disable the generation of an SMI /PME interrupt due to MIDI's IRQ. enable the generation of an SMI /PME interrupt due to MIDI's IRQ.
CRF9 (Default 0x00)
Bit [7:3]: Reserved. Return zero when read. Bit 2: PME_EN: Select the power management events to be either an PME or SMI interrupt for the IRQ events. Note that: this bit is valid only when SMIPME_OE = 1. 0 1 Bit 1: the power management events will generate an SMI event. the power management events will generate an PME event. 1S 8 mS
FSLEEP: This bit selects the fast expiry time of individual devices. 0 1
Bit 0:
SMIPME_OE: This is the SMI and PME output enable bit. 0 1 neither SMI nor PME will be generated. Only the IRQ status bit is set. an SMI or PME event will be generated.
CRFA (Default 0x00)
Bit [7:3]: Reserved. (Return zero when read) Bit 2: SCPME. SC auto power management enable. 0 1 Bit 1: 0 1 Bit 0: 0 1 disable the auto power management functions. enable the auto power management functions. disable the auto power management functions. enable the auto power management functions. disable the auto power management functions. enable the auto power management functions.
URDPME. UART D auto power management enable.
URCPME. UART C auto power management enable.
- 45 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
6.13 Logical Device B (PWM)
CR30 (Default 0x00)
Bit [7:1]: Reserved. Bit 0: 1 0 Activates the logical device. Logical device is inactive.
CR60, CR61 (Default 0x00, 0x00)
These two registers select Pulse Width Modulation base address [0x100:0xFFF] on 8-byte boundary.
6.14 Logical Device C (SMART CARD)
CR30 (Default 0x00)
Bit [7:1]: Reserved. Bit 0: 1 0 Activates the logical device. Logical device is inactive.
CR60, CR61 (Default 0x00, 0x00)
These two registers select Smart Card base address [0x100:0xFFF] on 8-byte boundary.
CR70 (Default 0x00)
Bit [7:4]: Reserved. Bit [3:0]: These bit select IRQ resource for Smart Card interface.
CRF0 (Default 0x00)
Bit [7:1]: Reserved. Bit 0: 1 0 Smart Card present signal (SCPSNT) is LOW active. SCPSNT is HIGH active.
6.15 Logical Device D (URC & GPIO Port 6 )
CR30 (Default 0x00)
Bit [7:2]: Reserved. Bit 1: Bit 0: 1 0 1 0 Activate GPIO6. GPIO6 is inactive Activate URC. URC is inactive.
CR60, CR61 (Default 0x03, 0xE8 if PNPCSV = 0 during POR, default 0x00, 0x00 otherwise)
These two registers select the Serial Port 3 I/O base address [0x100:0xFF8] on 8yte boundary.
- 46 -
W83697UF/W83697UG
CR62, CR63 (Default 0x00)
These two registers select the GPIO6 base address [0x100:0xFFF] on 4byte boundary. IO address: CRF2 base address
CR70 (Default 0x00)
Bit [7:4]: Reserved. Bit [3:0]: These bits select IRQ resource for Serial Port 3.
CRF0 (Default 0x00)
Bit 7: Bit 6:
Reserved. 1 0 Activates the logical device IRQ sharing function. Logical device IRQ sharing is inactive.
Bit [5:2]: Reserved. Bit [1:0]: SUCCLKB1, SUCCLKB0 00 01 10 11 UART C clock source is 1.8462 Mhz (24MHz/13) UART C clock source is 2 Mhz (24MHz/12) UART C clock source is 24 Mhz (24MHz/1) UART C clock source is 14.769 Mhz (24mhz/1.625)
CRF1 (GP6 selection register. Default 0xFF)
When set to a '1', respective GPIO port is programmed as an input port. When set to a '0', respective GPIO port is programmed as an output port.
CRF2 (GP6 data register. Default 0x00 )
If a port is programmed to be an output port, then its respective bit can be read/written. If a port is programmed to be an input port, then its respective bit can only be read.
CRF3 (GP6 inversion register. Default 0x00 )
When set to a '1', the incoming/outgoing port value is inverted. When set to a '0', the incoming/outgoing port value is the same as in data register.
CRF4 (GP6 output style register. Default 0x00 )
When set to a '1', the outgoing port is pulse mode. When set to a '0', the outgoing port is level mode.
- 47 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
6.16 Logical Device E (URD & GPIO Port 7)
CR30 (Default 0x00)
Bit [7:2]: Reserved. Bit 1: Bit 0: 1 0 1 0 Activate GPIO7. GPIO7 is inactive Activate URD. URD is inactive
CR60, CR61 (Default 0x02, 0xE8 if PNPCSV = 0 during POR, default 0x00, 0x00 otherwise)
These two registers select the Serial Port 4 I/O base address [0x100:0xFF8] on 8yte boundary.
CR62, CR63 (Default 0x00)
These two registers select the GPIO7 base address [0x100:0xFFF] on 4byte boundary. IO address : CRF2 base address
CR70(Default 0x00)
Bit [7:4]: Reserved. Bit [3:0]: These bits select IRQ resource for Serial Port 4.
CRF0 (Default 0x00)
Bit 7: Bit 6:
Reserved. 1 0 Activates the logical device IRQ sharing function. Logical device IRQ sharing is inactive.
Bit [5:2]: Reserved. Bit [1:0]: SUDCLKB1, SUDCLKB0 00 01 10 11 UART D clock source is 1.8462 Mhz (24MHz/13) UART D clock source is 2 Mhz (24MHz/12) UART D clock source is 24 Mhz (24MHz/1) UART D clock source is 14.769 Mhz (24mhz/1.625)
CRF1 (GP7 selection register. Default 0xFF)
When set to a '1', respective GPIO port is programmed as an input port. When set to a '0', respective GPIO port is programmed as an output port.
CRF2 (GP7 data register. Default 0x00 )
If a port is programmed to be an output port, then its respective bit can be read/written. If a port is programmed to be an input port, then its respective bit can only be read.
CRF3 (GP7 inversion register. Default 0x00 )
When set to a '1', the incoming/outgoing port value is inverted. When set to a '0', the incoming/outgoing port value is the same as in data register.
- 48 -
W83697UF/W83697UG
6.17 Logical Device F (GPIO Port 8)
CR30 (Default 0x00)
Bit [7:1]: Reserved. Bit 0: 1 0 Activate GPIO8. GPIO8 is inactive.
CR60, CR61 (Default 0x00)
These two registers select the GPIO8 base address [0x100:0xFFF] on 2byte boundary. IO address : CRF1 base address
CRF0 (GP8 selection register. Default 0xFF)
When set to a '1', respective GPIO port is programmed as an input port. When set to a '0', respective GPIO port is programmed as an output port.
CRF1 (GP8 data register. Default 0x00 )
If a port is programmed to be an output port, then its respective bit can be read/written. If a port is programmed to be an input port, then its respective bit can only be read.
CRF2 (GP8 inversion register. Default 0x00 )
When set to a '1', the incoming/outgoing port value is inverted. When set to a '0', the incoming/outgoing port value is the same as in data register.
7. SPECIFICATIONS
7.1 Absolute Maximum Ratings
PARAMETER RATING UNIT
Power Supply Voltage (5V) Input Voltage RTC Battery Voltage VBAT Operating Temperature Storage Temperature
-0.5 to 7.0 -0.5 to VDD+0.5 2.2 to 4.0 0 to +70 -55 to +150
V V V
C C
Note: Exposure to conditions beyond those listed under Absolute Maximum Ratings may adversely affect the life and reliability of the device.
- 49 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
7.2 DC CHARACTERISTICS
(Ta = 0 C to 70 C, VDD = 5V 10%, VSS = 0V)
PARAMETER SYM. MIN. TYP. MAX. UNIT CONDITIONS
RTC Battery Quiescent Current ACPI Stand-by Power Supply Quiescent Current
IBAT IBAT
2.4 2.0
uA mA
VBAT = 2.5 V VSB = 5.0 V, All ACPI pins are not connected.
I/O8t - TTL level bi-directional pin with 8mA source-sink capability
Input Low Voltage Input High Voltage Output Low Voltage Output High Voltage Input High Leakage Input Low Leakage
VIL VIH VOL VOH ILIH ILIL 2.4 2.0
0.8 0.4 +10 -10
V V V V
A A
IOL = 8 mA IOH = - 8 mA VIN = 5V VIN = 0V
I/O12t - TTL level bi-directional pin with 12mA source-sink capability
Input Low Voltage Input High Voltage Output Low Voltage Output High Voltage Input High Leakage Input Low Leakage
VIL VIH VOL VOH ILIH ILIL 2.4 2.0
0.8 0.4 +10 -10
V V V V
A A
IOL = 12 mA IOH = -12 mA VIN = 5V VIN = 0V
I/O24t - TTL level bi-directional pin with 24mA source-sink capability
Input Low Voltage Input High Voltage Output Low Voltage Output High Voltage Input High Leakage Input Low Leakage
VIL VIH VOL VOH ILIH ILIL 2.4 2.0
0.8 0.4 +10 -10
V V V V
A A
IOL = 24 mA IOH = -24 mA VIN = 5V VIN = 0V
I/O12tp3 - 3.3V TTL level bi-directional pin with 12mA source-sink capability
Input Low Voltage Input High Voltage Output Low Voltage Output High Voltage
VIL VIH VOL VOH 2.4 2.0
0.8 0.4
V V V V IOL = 12 mA IOH = -12 mA
- 50 -
W83697UF/W83697UG
DC CHARACTERISTICS, continued
PARAMETER
SYM.
MIN.
TYP.
MAX.
UNIT
CONDITIONS
I/O12tp3 - 3.3V TTL level bi-directional pin with 12mA source-sink capability
Input High Leakage Input Low Leakage
ILIH ILIL
+10 -10
A A
VIN = 3.3V VIN = 0V
I/O12ts - TTL level Schmitt-trigger bi-directional pin with 12mA source-sink capability
Input Low Voltage Input High Voltage Hystersis
Threshold Threshold
VtVt+ VTH VOL VOH ILIH ILIL
0.5 1.6 0.5 2.4
0.8 2.0 1.2
1.1 2.4
V V V VDD=5V IOL = 12 mA IOH = -12 mA VIN = 5V VIN = 0V
Output Low Voltage Output High Voltage Input High Leakage Input Low Leakage
0.4 +10 -10
V V
A A
I/O24ts - TTL level Schmitt-trigger bi-directional pin with 24mA source-sink capability
Input Low Voltage Input High Voltage Hystersis
Threshold Threshold
VtVt+ VTH VOL VOH ILIH ILIL
0.5 1.6 0.5 2.4
0.8 2.0 1.2
1.1 2.4
V V V VDD=5V IOL = 24 mA IOH = -24 Ma VIN = 5V VIN = 0V
Output Low Voltage Output High Voltage Input High Leakage Input Low Leakage
0.4 +10 -10
V V
A A
I/O24tsp3 - 3.3V TTL level Schmitt-trigger bi-directional pin with 24mA source-sink capability
Input Low Voltage Input High Voltage Hystersis
Threshold Threshold
VtVt+ VTH VOL VOH ILIH ILIL
0.5 1.6 0.5 2.4
0.8 2.0 1.2
1.1 2.4
V V V VDD=3.3V IOL = 24 mA IOH = -24 mA VIN = 3.3V VIN = 0V
Output Low Voltage Output High Voltage Input High Leakage Input Low Leakage
0.4 +10 -10
V V
A A
- 51 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
DC CHARACTERISTICS, continued
PARAMETER
SYM.
MIN.
TYP.
MAX.
UNIT
CONDITIONS
I/OD12t - TTL level bi-directional pin and open-drain output with 12mA sink capability
Input Low Voltage Input High Voltage Output Low Voltage Input High Leakage Input Low Leakage
VIL VIH VOL ILIH ILIL 2.0
0.8 0.4 +10 -10
V V V
A A
IOL = 12 mA VIN = 5V VIN = 0V
I/OD24t - TTL level bi-directional pin and open-drain output with 24mA sink capability
Input Low Voltage Input High Voltage Output Low Voltage Input High Leakage Input Low Leakage
VIL VIH VOL ILIH ILIL 2.0
0.8 0.4 +10 -10
V V V
A A
IOL = 24 mA VIN = 5V VIN = 0V
I/OD24c - CMOS level bi-directional pin and open drain output with 24mA sink capability
Input Low Voltage Input High Voltage Output Low Voltage Input High Leakage Input Low Leakage
VIL VIH VOL ILIH ILIL 3.5
1.5 0.4 +10 -10
V V V
A A
IOL = 24 mA VIN = 5V VIN = 0 V
I/OD24a - Bi-directional pin with analog input and open-drain output with 24mA sink capability
Output Low Voltage Input High Leakage Input Low Leakage
VOL ILIH ILIL
0.4 +10 -10
V
A A
IOL = 24 mA VIN = 5V VIN = 0V
I/OD12ts - TTL level Schmitt-trigger bi-directional pin and open drain output with 12mA sink capability
Input Low Voltage Input High Voltage Hystersis
Threshold Threshold
VtVt+ VTH VOL ILIH ILIL
0.5 1.6 0.5
0.8 2.0 1.2
1.1 2.4
V V V VDD=5V IOL = 12 mA VIN = 5V VIN = 0V
Output Low Voltage Input High Leakage Input Low Leakage
0.4 +10 -10
V
A A
- 52 -
W83697UF/W83697UG
DC CHARACTERISTICS, continued
PARAMETER
SYM.
MIN.
TYP.
MAX.
UNIT
CONDITIONS
I/OD24ts - TTL level Schmitt-trigger bi-directional pin and open drain output with 24mA sink capability Input Low Threshold Vt0.5 0.8 1.1 V Voltage
Input High Voltage Hystersis
Threshold
Vt+ VTH VOL ILIH ILIL
1.6 0.5
2.0 1.2
2.4
V V VDD=5V IOL = 24 mA VIN = 5V VIN = 0V
Output Low Voltage Input High Leakage Input Low Leakage
0.4 +10 -10
V
A A
I/OD12cs - CMOS level Schmitt-trigger bi-directional pin and open drain output with 12mA sink capability
Input Low Voltage Input High Voltage Hystersis
Threshold Threshold
VtVt+ VTH VOL ILIH ILIL
1.3 3.2 1.5
1.5 3.5 2
1.7 3.8
V V V
VDD = 5 V VDD = 5 V VDD = 5 V IOL = 12 mA VIN = 5V VIN = 0 V
Output Low Voltage Input High Leakage Input Low Leakage
0.4 +10 -10
V
A A
I/OD16cs - CMOS level Schmitt-trigger bi-directional pin and open drain output with 16mA sink capability
Input Low Voltage Input High Voltage Hystersis
Threshold Threshold
VtVt+ VTH VOL ILIH ILIL
1.3 3.2 1.5
1.5 3.5 2
1.7 3.8
V V V
VDD = 5 V VDD = 5 V VDD = 5 V IOL = 16 mA VIN = 5V VIN = 0 V
Output Low Voltage Input High Leakage Input Low Leakage
0.4 +10 -10
V
A A
I/OD24cs - CMOS level Schmitt-trigger bi-directional pin and open drain output with 24mA sink capability
Input Low Voltage Input High Voltage
Threshold Threshold
VtVt+
1.3 3.2
1.5 3.5
1.7 3.8
V V
VDD = 5 V VDD = 5 V
- 53 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
DC CHARACTERISTICS, continued
PARAMETER
SYM.
MIN.
TYP.
MAX.
UNIT
CONDITIONS
I/OD24cs - CMOS level Schmitt-trigger bi-directional pin and open drain output with 24mA sink capability
Hystersis Output Low Voltage Input High Leakage Input Low Leakage
VTH VOL ILIH
1.5
2 0.4 +10
V V
A
VDD = 5 V IOL = 24 mA VIN = 5V
VIN = 0 V ILIL -10 A I/OD12csd - CMOS level Schmitt-trigger bi-directional pin with internal pull down resistor and open drain output with 12mA sink capability Input Low Threshold Vt1.3 1.5 1.7 V VDD = 5 V Voltage Input High Voltage Hystersis Output Low Voltage Input High Leakage Input Low Leakage Threshold Vt+ VTH VOL ILIH ILIL 3.2 1.5 3.5 2 0.4 +10 -10 3.8 V V V
A
VDD = 5 V VDD = 5 V IOL = 12 mA VIN = 5V
VIN = 0 V A I/OD12csu - CMOS level Schmitt-trigger bi-directional pin with internal pull up resistor and open drain output with 12mA sink capability Input Low Threshold Vt1.3 1.5 1.7 V VDD = 5 V Voltage Input High Voltage Hystersis Output Low Voltage Input High Leakage Input Low Leakage Threshold Vt+ VTH VOL ILIH ILIL 3.2 1.5 3.5 2 0.4 +10 -10 0.4 3.8 V V V
A A
VDD = 5 V VDD = 5 V IOL = 12 mA VIN = 5V VIN = 0 V IOL = 4 mA IOH = -4 mA IOL = 8 mA IOH = -8 mA IOL = 12 mA IOH = -12 mA
O4 - Output pin with 4mA source-sink capability Output Low Voltage VOL
V V
Output High Voltage VOH 2.4 O8 - Output pin with 8mA source-sink capability Output Low Voltage VOL Output High Voltage VOH 2.4 O12 - Output pin with 12mA source-sink capability Output Low Voltage VOL Output High Voltage VOH 2.4
0.4
V V
0.4
V V
- 54 -
W83697UF/W83697UG
DC CHARACTERISTICS, continued
PARAMETER
SYM.
MIN.
TYP.
MAX.
UNIT
CONDITIONS
O16 - Output pin with 16mA source-sink capability
Output Low Voltage Output High Voltage Output Low Voltage Output High Voltage
VOL VOH VOL VOH 2.4 2.4
0.4
V V
IOL = 16 mA IOH = -16 mA IOL = 24 mA IOH = -24 mA
O24 - Output pin with 24mA source-sink capability
0.4
V V
O12p3 - 3.3V output pin with 12mA source-sink capability
Output Low Voltage Output Low Voltage Output Low Voltage Output Low Voltage Output Low Voltage
INt - TTL level input pin
VOL VOL VOL VOL VOL VIL SYM. VIH ILIH ILIL MIN. 2.0 TYP.
0.4 0.4 0.4 0.4 0.4 0.8 MAX. +10 -10
V V V V V V UNIT V
A A
IOL = 12 mA IOL = 24 mA IOL = 12 mA IOL = 24 mA IOL = 12 mA
O24p3 - 3.3V output pin with 24mA source-sink capability OD12 - Open drain output pin with 12mA sink capability OD24 - Open drain output pin with 24mA sink capability OD12p3 - 3.3V open drain output pin with 12mA sink capability
Input Low Voltage PARAMETER Input High Voltage Input High Leakage Input Low Leakage
CONDITIONS VIN = 5V VIN = 0 V
INtp3 - 3.3V TTL level input pin
Input Low Voltage Input High Voltage Input High Leakage Input Low Leakage
VIL VIH ILIH ILIL 2.0
0.8 +10 -10
V V
A A
VIN = 3.3V VIN = 0 V
INtd - TTL level input pin with internal pull down resistor
Input Low Voltage Input High Voltage Input High Leakage
VIL VIH ILIH 2.0
0.8 +10
V V
A
VIN = 5V
- 55 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
DC CHARACTERISTICS, continued
PARAMETER
SYM.
MIN.
TYP.
MAX.
UNIT
CONDITIONS
INtd - TTL level input pin with internal pull down resistor
Input Low Leakage
ILIL
-10 0.8 +10 -10 0.9 1.9 1.0 +10 -10 1.0 2.0 1.0 2.0
A
VIN = 0 V
INtu - TTL level input pin with internal pull up resistor Input Low Voltage VIL
V V
A A
Input High Voltage Input High Leakage Input Low Leakage
VIH ILIH ILIL
2.0
VIN = 5V VIN = 0 V VDD = 5 V VDD = 5 V VDD = 5 V VIN = 5V VIN = 0 V VDD = 3.3 V VDD = 3.3 V VDD = 3.3 V VIN = 3.3 V VIN = 0 V
INts - TTL level Schmitt-trigger input pin Input Low Threshold Vt0.8 Voltage
V V V
A A
Input High Threshold Voltage Hystersis Input High Leakage Input Low Leakage
Vt+ VTH ILIH ILIL
1.8 0.8
INtsp3 - 3.3 V TTL level Schmitt-trigger input pin Input Low Threshold Vt0.8 0.9 Voltage
V V V
Input High Threshold Voltage Hystersis Input High Leakage Input Low Leakage
Vt+ VTH ILIH ILIL
1.8 0.8
1.9 1.0
+10 -10 1.5 3.5 +10 -10
A A
INc - CMOS level input pin Input Low Voltage VIL
V V
A A
Input High Voltage Input High Leakage Input Low Leakage
VIH ILIH ILIL
VIN = 5V VIN = 0 V
INcu - CMOS level input pin with internal pull up resistor Input Low Voltage VIL 1.5
V V
A A
Input High Voltage Input High Leakage Input Low Leakage
VIH ILIH ILIL
3.5 +10 -10
VIN = 5V VIN = 0 V
- 56 -
W83697UF/W83697UG
DC CHARACTERISTICS, continued
PARAMETER
SYM.
MIN.
TYP.
MAX.
UNIT
CONDITIONS
INcd
- CMOS level input pin with internal pull down resistor
Input Low Voltage Input High Voltage Input High Leakage Input Low Leakage
INcs
VIL VIH ILIH ILIL 3.5
1.5 +10 -10
V V
A A
VIN = 5V VIN = 0 V
- CMOS level Schmitt-trigger input pin
Input Low Voltage Input High Voltage Hystersis
Threshold Threshold
VtVt+ VTH ILIH ILIL
1.3 3.2 1.5
1.5 3.5 2
1.7 3.8
V V V
VDD = 5 V VDD = 5 V VDD = 5 V VIN = 5 V VIN = 0 V
Input High Leakage Input Low Leakage
INcsu
+10 -10
A A
- CMOS level Schmitt-trigger input pin with internal pull up resistor
Input Low Voltage Input High Voltage Hystersis
Threshold Threshold
VtVt+ VTH ILIH ILIL
1.3 3.2 1.5
1.5 3.5 2
1.7 3.8
V V V
VDD = 5 V VDD = 5 V VDD = 5 V VIN = 5V VIN = 0 V
Input High Leakage Input Low Leakage
+10 -10
A A
- 57 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
8. APPLICATION CIRCUITS
8.1 Parallel Port Extension FDD
JP13
WE2/SLCT WD2/PE MOB2/BUSY DSB2/ACK PD7 PD6 PD5 DCH2/PD4 RDD2/PD3 STEP2/SLIN WP2/PD2 DIR2/INIT TRK02/PD1 HEAD2/ERR IDX2/PD0 RWC2/AFD STB 13 25 12 24 11 23 10 22 9 21 8 20 7 19 6 18 5 17 4 16 3 15 2 14 1
JP 13A
DCH2 HEAD2 RDD2
WP2
TRK02 WE2 WD2 STEP2 DIR2 MOB2 DSB2 IDX2
RWC2
34 32 30 28 26 24 22 20 18 16 14 12 10 8 6 4 2
33 31 29 27 25 23 21 19 17 15 13 11 9 7 5 3 1
EXT FDC
PRINTER PORT
Parallel Port Extension FDD Mode Connection Diagram
- 58 -
W83697UF/W83697UG
8.2 Parallel Port Extension 2FDD
JP13
WE2/SLCT WD2/PE MOB2/BUSY DSB2/ACK DSA2/PD7 MOA2/PD6 PD5 DCH2/PD4 RDD2/PD3 STEP2/SLIN WP2/PD2 DIR2/INIT TRK02/PD1 HEAD2/ERR IDX2/PD0 RWC2/AFD STB 13 25 12 24 11 23 10 22 9 21 8 20 7 19 6 18 5 17 4 16 3 15 2 14 1
JP 13A
DCH2 HEAD2 RDD2
WP2
TRK02 WE2 WD2 STEP2 DIR2 MOB2 DSA2 DSB2 MOA2 IDX2
RWC2
34 32 30 28 26 24 22 20 18 16 14 12 10 8 6 4 2
33 31 29 27 25 23 21 19 17 15 13 11 9 7 5 3 1
EXT FDC
PRINTER PORT
Parallel Port Extension 2FDD Connection Diagram
8.3 Four FDD Mode
W83977F DSA DSB MOA MOB
74LS139 G1 A1 B1 1Y0 1Y1 1Y2 1Y3 2Y0 2Y1 2Y2 2Y3
7407(2) DSA DSB DSC DSD MOA MOB MOC MOD
G2 A2 B2
- 59 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
9. ORDERING INSTRUCTION
PART NO. PACKAGE REMARKS
W83697UF,W83697UG
128-pin QFP
W83697UG is with pb-free package
10. HOW TO READ THE TOP MARKING
Example: The top marking of W83697UF/W83697UG
inbond
W83697UF
121G5BCV012345BA
inbond
W83697UG
121G5BCV012345BA
1st line: Winbond logo 2nd line: the type number: W83697UF, W83697UG 3th line: the tracking code 121 G 5 B CV012345BA 121: packages made in 2001, week 21 G: assembly house ID; A means ASE, S means SPIL, G means GR, .... etc. 5: Winbond internal use. B: IC revision; A means version A, B means version B CV012345BA: wafer production series lot number
- 60 -
W83697UF/W83697UG
11. PACKAGE DIMENSIONS
(128-pin PQFP)
HE E
102 65
Symbol
Dimension in mm
Dimension in inch
Min
0.25 2.57 0.10 0.10 13.90 19.90
Nom
0.35 2.72 0.20 0.15 14.00 20.00 0.50
Max
0.45 2.87 0.30 0.20 14.10 20.10
Min
0.010 0.101 0.004 0.004 0.547 0.783
Nom
0.014 0.107 0.008 0.006 0.551 0.787 0.020
Max
0.018 0.113 0.012 0.008 0.555 0.791
103
64
D
HD
128
39
1
e
b
38
A1 A2 b c D E e HD HE L L1 y 0
c
17.00 23.00 0.65
17.20 23.20 0.80 1.60
17.40 23.40 0.95
0.669 0.905 0.025
0.677 0.913 0.031 0.063
0.685 0.921 0.037
0.08 0 7 0
0.003 7
Note:
1.Dimension D & E do not include interlead flash. 2.Dimension b does not include dambar protrusion/intrusion . 3.Controlling dimension : Millimeter 4.General appearance spec. should be based on final visual inspection spec.
A A2 See Detail F Seating Plane A1 L L1 Detail F
y
5. PCB layout please use the "mm".
- 61 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
12. APPENDIX A: DEMO CIRCUIT
W83697UF
ROMCS# MEMR# MEMW# PME# XD0 XD1 XD2 XD3 XD4 XD5 XD6 XD7 XA0 XA1 XA2 XA3 XA4 XA5 XA6 XA7 XA8 XA9 XA10 XA11 XA12 XA13 XA14 XA15 XA16 XA17 XA18
XD[0..7]
XD[0..7]
COMC
CTSC# DSRC# RTSC# DTRC# SINC SOUTC DCDC# RIC# VCC
XA[0..18]
XA[0..18]
IRTX 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 U1
DTRC#/GP64 RTSC#/GP65 DSRC#/GP66 CTSC#/GP67 PME# MEMW#/GP52 MEMR#/GP53 ROMCS#/GP54 XD0/GP20 XD1/GP21 XD2/GP22 XD3/GP23 GND XD4/GP24 XD5/GP25 XD6/GP26 XD7/GP27 XA0/GP30 XA1/GP31 XA2/GP32 XA3/GP33 XA4/GP34 XA5/GP35 XA6/GP36 XA7/GP37 XA8/GP40 XA9/GP41 VCC XA10/GP42 XA11/GP43 XA12/GP44 XA13/GP45 XA14/GP46 XA15/GP47 XA16/GP55 XA17/GP56 XA18/GP57 IRTX
IR
IRRX RIB# DCDB# SOUTB GND SINB DTRB# RTSB# DSRB# CTSB# RIA# DCDA# SOUTA SINA DTRA# RTSA# DSRA# CTSA# STB# VCC AFD# INIT# PD0 PD1 PD2 PD3 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 IRRX RIB# DCDB# SOUTB SINB DTRB# RTSB# DSRB# CTSB# RIA# DCDA# SOUTA SINA DTRA# RTSA# DSRA# CTSA# STB# AFD# INIT#
COMD
FAN PWM OUTPUT
MIDI PORT
GAME PORT
PIN107 PIN108 PIN109 PIN110 PIN111 PIN112 PIN113 PIN114 PWM2 PWM1 PWM0 WDTO MSI MSO GPAS2 GPBS2 GPAY GPBY GPBX GPAX GPBS1 GPAS1
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
SINC/GP63 SOUTC/GP62 DCDC#/GP61 RIC#/GP60 CTSD#/GP77 DSRD#/GP76 RTSD#/GP75 DTRD#/GP74 SIND/GP73 SOUTD/GP72 DCDD#/GP71 RID#/GP70 PWM2/PLED/GP83 PWM1/GP82 PWM0/GP81 WDTO/GP80 MSI/GP51 MSO/GP50 GPAS2/GP17 GPBS2/GP16 GPAY/GP15 GPBY/GP14 GPBX/GP13 GPAX/GP12 GPBS1/GP11 GPAS1/GP10
& COMB
W83697UF
COMA
VCC
C1 0.1u
DRVDEN0 INDEX# MOA# DSB# VCC DSA# MOB# DIR# STEP# WD# WE# TRAK0# WP# RDATA# HEAD# DSKCHG# CLKIN GND PCICLK LDRQ# SERIRQ VCC3 LAD3 LAD2 LAD1 LAD0 LFRAME# LRESET# SLCT PE BUSY ACK# ERR# SLIN# PD7 PD6 PD5 PD4
J1 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33
RWC# INDEX# MOA# DSB# DSA# MOB# DIR# STEP# WD# WE# TRAK0# WP# RDATA# HEAD# DSKCHG# 1 OSC1 NC OUTPUT 24/48MHz 5 PCICLK LDRQ# VCC3V SERIRQ LAD[0..3] VCC3V R2 4.7K LAD[0..3] R3 4.7K R1 4.7K LAD3 LAD2 LAD1 LAD0
PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7
Printer
PD[0..7] PD[0..7]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
VCC3V C2 0.1u C3 0.1u VCC |LINK |697SFD2.SCH |697SFD3.SCH |697SFD4.SCH |697SFD5.SCH |697SFD6.SCH
SLIN# ERR# ACK# BUSY PE SLCT
HEADER 17X2
FDC
Winbond Electronic Corp. Title W83697SF Size B Date: Document Number 697SD1.SCH Thursday, August 30, 2001 Sheet 1 of 7 Rev 0.2
LAD[0~3] IS RECOMMAND PULL HIGH 3VCC
VCC LFRAME# LRESET#
- 62 -
W83697UF/W83697UG
(UARTD)
COM PORT
VCC RTSA# DTRA# SOUTA RIA# CTSA# DSRA# SINA DCDA# 20 16 15 13 19 18 17 14 12 11 U2 VCC DA1 DA2 DA3 RY1 RY2 RY3 RY4 RY5 GND W83778 (SOP20) J2 1 3 5 7 9 2 4 6 8 10 +12V DY1 DY2 DY3 RA1 RA2 RA3 RA4 RA9 -12V 1 5 6 8 2 3 4 7 9 10 +12V NRTSA NDTRA NSOUTA NRIA NCTSA NDSRA NSINA NDCDA -12V RTSB# DTRB# SOUTB RIB# CTSB# DSRB# SINB DCDB# VCC 20 16 15 13 19 18 17 14 12 11 U3 VCC DA1 DA2 DA3 RY1 RY2 RY3 RY4 RY5 GND W83778 (SOP20) J3 1 3 5 7 9 2 4 6 8 10 +12V DY1 DY2 DY3 RA1 RA2 RA3 RA4 RA9 -12V 1 5 6 8 2 3 4 7 9 10 +12V NRTSB NDTRB NSOUTB NRIB NCTSB NDSRB NSINB NDCDB -12V RTSC# DTRC# SOUTC RIC# CTSC# DSRC# SINC DCDC# VCC 20 16 15 13 19 18 17 14 12 11 U4 VCC DA1 DA2 DA3 RY1 RY2 RY3 RY4 RY5 GND W83778 (SOP20) J4 1 3 5 7 9 2 4 6 8 10 +12V DY1 DY2 DY3 RA1 RA2 RA3 RA4 RA9 -12V 1 5 6 8 2 3 4 7 9 10 +12V NRTSC NDTRC NSOUTC NRIC NCTSC NDSRC NSINC NDCDC -12V RTSD# DTRD# SOUTD RID# CTSD# DSRD# SIND DCDD# VCC 20 16 15 13 19 18 17 14 12 11 U5 VCC DA1 DA2 DA3 RY1 RY2 RY3 RY4 RY5 GND W83778 (SOP20) J5 1 3 5 7 9 2 4 6 8 10 +12V DY1 DY2 DY3 RA1 RA2 RA3 RA4 RA9 -12V 1 5 6 8 2 3 4 7 9 10 +12V NRTSD NDTRD NSOUTD NRID NCTSD NDSRD NSIND NDCDD -12V
NDCDA NSOUTA GND NRTSA NRIA
NSINA NDTRA NDSRA NCTSA
NDCDB NSOUTB GND NRTSB NRIB
NSINB NDTRB NDSRB NCTSB
NDCDC NSOUTC GND NRTSC NRIC
NSINC NDTRC NDSRC NCTSC
NDCDD NSOUTD GND NRTSD NRID
NSIND NDTRD NDSRD NCTSD
CN2X5B
CN2X5B
CN2X5B
CN2X5B
COMA
(UARTA)
COMB
(UARTB)
COMC
(UARTC)
COMD
(UARTD)
1
1
PRT PORT
RPACK1
D1 DIODE
VCC
RP1 10P9R-2.7K
RP2 10P9R-2.7K
2 3 4 5 6 7 8 9 10
STB# AFD# INIT# SLIN# PD[0..7] PD[0..7] PD0 PD1 PD2 PD3
1 3 5 7
2 4 6 8
2 3 4 5 6 7 8 9 10
33 1 3 5 7 RPACK2 2 4 6 8
33 PD4 PD5 PD6 PD7 1 3 5 7 RPACK3 2 4 6 8
33 ERR# ACK# BUSY PE SLCT C4 180 C13 180 C5 180 C14 180 C6 180 C15 180 C7 180 C16 180 C8 180 C17 180 C9 180 C18 180 C10 180 C19 180 C11 180 C20 180 C12 180
1 14 2 15 3 16 4 17 5 18 6 19 7 20 8 21 9 22 10 23 11 24 12 25 13
J6
DB25
WINBOND ELECTRONICS CORP. Title Size B Date:
W83697SF Document Number 697SD2.SCH Thursday, August 30, 2001 Sheet 3 of 7 Rev 0.2
- 63 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
GAME & MIDI PORT CIRCUIT
VCC VCC VCC VCC VCC VCC
R6 100K
R7 2.2K
R8 2.2K
R9 2.2K
R10 2.2K
L1 INDUCTOR
MSI GPSA2 GPSB2 GPY1 GPY2 MSO GPX2 GPX1 GPSB1 GPSA1 R17 1M
R11 2.2K R12 2.2K R13 2.2K R14 2.2K R15 2.2K R16 2.2K
8 15 7 14 6 13 5 12 4 11 3 10 2 9 1
P1
R18 1M
R19 1M
R20 1M
PRT
C21 0.01U C22 0.01U C23 0.01U C24 0.01U C25 0.01U
C26 0.01U
C27 0.01U
C28 0.01U
C29 0.01U
FLASH ROM
U6 XA17 XA16 XA15 XA14 XA13 XA12 XA11 XA10 XA9 XA8 XA7 XA6 XA5 XA4 XA3 XA2 XA1 XA0 1 30 2 3 29 28 4 25 23 26 27 5 6 7 8 9 10 11 12 31 24 22 NC/A18 A17 A16 A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 WE# OE# CE# W29C020/40 DQ0 DQ1 DQ2 DQ3 DQ4 DQ5 DQ6 DQ7 13 14 15 17 18 19 20 21 XD0 XD1 XD2 XD3 XD4 XD5 XD6 XD7
IR/CIR CONNECTOR
XD[0..7] XD[0..7] VCC JP1 1 2 3 4 5 HEADER 5
R21 0
XA18
IRRX IRTX
XA[0..18]
XA[0..18] VCC
R22 4.7K
R23 4.7K
R24 4.7K
VCC VCC GND 32 THE IOVSB OF PIN 8 IS 16 0.1U C30 FOR CIR WAKE-UP FUNCTION.
MEMW# MEMR# ROMCS#
WINBOND ELECTRONICS CORP. Title Size B Date:
W83697SF Document Number 697SD3.SCH Thursday, August 30, 2001 Sheet 4 of 7 Rev 0.2
- 64 -
W83697UF/W83697UG
R41 150 VCC
D3 LED
Q8 NPN
R42 4.7K PLED
HEFRAS PNPCSV PENROM PEN48
RTSA# DTRA# SOUTA SOUTB
1 2 3 4
S1
8 7 6 5
VCC
SW DIP-4
S1 (HEFRAS)
S2 (PNPCSV) Clear all default value
S3 (PENROM) Disable ISA ROM Interface
S4 (PEN48) Using 48M be IO clk
ON
4E
OFF
2E
Using default value
Enable ISA ROM Interface
Using 24M be IO clk
Winbond Electronic Corp. Title Size B Date:
W83697SF Document Number 697SD4.SCH Thursday, August 30, 2001 Sheet 5 of 7 Rev 0.2
- 65 -
Publication Release Date: May 26, 2005 Revision A1
W83697UF/W83697UG
697UF DEMO CIRCUIT VERSION CHANG NOTICE
2/26/2001
FIRST RELEASED
WINBOND ELECTRONICS CORP. Title Size B Date:
W83697SF Document Number 697SD5.SCH Thursday, August 30, 2001 Sheet 7 of 7 Rev 0.2
- 66 -
W83697UF/W83697UG
13. REVISION HISTORY
VERSION DATE PAGE DESCRIPTION
0.50 1.0 1.1 1.2 A1
04/27/01 12/17/02 02/18/03 12/01/04 May 26, 2005
n.a. 7 67
First Published New update Add Block Diagram Add Pb-free part no"W83697UG" ADD Important Notice
Important Notice
Winbond products are not designed, intended, authorized or warranted for use as components in systems or equipment intended for surgical implantation, atomic energy control instruments, airplane or spaceship instruments, transportation instruments, traffic signal instruments, combustion control instruments, or for other applications intended to support or sustain life. Further more, Winbond products are not intended for applications wherein failure of Winbond products could result or lead to a situation wherein personal injury, death or severe property or environmental damage could occur. Winbond customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Winbond for any damages resulting from such improper use or sales.
Headquarters
No. 4, Creation Rd. III, Science-Based Industrial Park, Hsinchu, Taiwan TEL: 886-3-5770066 FAX: 886-3-5665577 http://www.winbond.com.tw/
Winbond Electronics Corporation America
2727 North First Street, San Jose, CA 95134, U.S.A. TEL: 1-408-9436666 FAX: 1-408-5441798
Winbond Electronics (Shanghai) Ltd.
27F, 2299 Yan An W. Rd. Shanghai, 200336 China TEL: 86-21-62365999 FAX: 86-21-62365998
Taipei Office
9F, No.480, Rueiguang Rd., Neihu District, Taipei, 114, Taiwan, R.O.C. TEL: 886-2-8177-7168 FAX: 886-2-8751-3579
Winbond Electronics Corporation Japan
7F Daini-ueno BLDG, 3-7-18 Shinyokohama Kohoku-ku, Yokohama, 222-0033 TEL: 81-45-4781881 FAX: 81-45-4781800
Winbond Electronics (H.K.) Ltd.
Unit 9-15, 22F, Millennium City, No. 378 Kwun Tong Rd., Kowloon, Hong Kong TEL: 852-27513100 FAX: 852-27552064
Please note that all data and specifications are subject to change without notice. All the trade marks of products and companies mentioned in this data sheet belong to their respective owners.
- 67 -
Publication Release Date: May 26, 2005 Revision A1


▲Up To Search▲   

 
Price & Availability of W83697UG

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X